Jump to content
Sign in to follow this  
Bertie Buitendag

TopCode Java Library in Delphi

Recommended Posts

Good day

 

I would like to use the following java library in Delphi

http://users.eecs.northwestern.edu/~mhorn/topcodes/

 

I have used Java2Pas to create an interface class, but the following is not recognised by the compiler (what should include additionally) to have the JBufferedImage recognised as well as JGraphics2D

 

image.thumb.png.20d20e6c1654e576c0e9fff3f0efdb4d.png

 

image.thumb.png.509384025952e6d76b6012b8c0ea1209.png

 

Any advise or help would be much appreciated

 

Thanks

Share this post


Link to post

This is the output from Java2OP:

 WebCamSample: the parent class (javax.swing.JPanel) is not found
 java.awt.Graphics: not found
 java.awt.Graphics2D: not found
 java.awt.event.ActionEvent: not found
 java.awt.event.KeyEvent: not found
 java.awt.event.MouseEvent: not found
 java.awt.event.WindowEvent: not found
 java.awt.geom.AffineTransform: not found
 java.awt.image.BufferedImage: not found
 java.awt.print.PageFormat: not found
 javax.swing.JFrame: not found
 javax.swing.JPanel: not found
 javax.swing.Timer: not found
 topcodes.DebugWindow: the parent class (javax.swing.JPanel) is not found
 topcodes.TopCodePrinter: the parent class (javax.swing.JPanel) is not found

So presumably you'll need to include the relevant jars that include javax.swing and java.awt, when importing 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×