Jump to content
Registration disabled at the moment Read more... ×
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×