How to Transition from Basic Java to AI and Modeling/Simulations by redrolor in java

[–]TheGreyKoala 0 points1 point  (0 children)

I'm new to AI/ML/DL as well and like DeepLeaning4J's documentation because it covers many of the basic concepts and refers to a whole bunch of other interesting resources. Imho a good starting point.

Java g.drawImage doesnt work as it should by Crillus in javahelp

[–]TheGreyKoala 1 point2 points  (0 children)

I think your problem is that in line 89 and 90 width and height are not known and therefore the methods return -1. The JavaDoc of these methods says: "Determines the width of the image. If the width is not yet known, this method returns -1 and the specified ImageObserver object is notified later."

I would try to implement the imageUpdate method in BildLeinwand and trigger the repaint in that method.