Bertie Buitendag 1 Posted October 16, 2022 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 Any advise or help would be much appreciated Thanks Share this post Link to post
David Heffernan 2345 Posted October 16, 2022 Extremely hard to tell what is happening here with two seemingly unrelated screenshots. Share this post Link to post
Dave Nottage 557 Posted October 16, 2022 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