Quote:
Originally Posted by Jtvd78 
This is really the main class. It does all of the drawing on the screen. There are several other classes, but they work more with the Input and other Misc. stuff.
It might be a bit hard to follow, and there may be some incomplete/repeated code. But that is because this is still a WIP. In java, Whenever the screen needs to be drawn, java calls the "paintComponent" function, and the "repaint" function is for a manual repaint. Drawing the functions happen in the "drawFunctions" method. It works by looping through every function, and drawing a line from every point for that function. I hope you can understand it.

This is really the main class. It does all of the drawing on the screen. There are several other classes, but they work more with the Input and other Misc. stuff.
It might be a bit hard to follow, and there may be some incomplete/repeated code. But that is because this is still a WIP. In java, Whenever the screen needs to be drawn, java calls the "paintComponent" function, and the "repaint" function is for a manual repaint. Drawing the functions happen in the "drawFunctions" method. It works by looping through every function, and drawing a line from every point for that function. I hope you can understand it.
yeah looking quite good
, though some stuff like the imports remind me of python...while the rest reminds me of c++ lol. I also haven't got a clue about coding conventions when it comes to java o: but it's pretty readable. there's also some stuff like the '@Override' which I've never seen before. Maybe you could try commenting a bit more? It's a big post btw, using pastebin as a guest or registered member wouldn't hurt 







, I constantly use javadoc myself, just to introduce my functions their variables (c++) and possibly returned values, just didn't think about it that way when reading 'override', since I never used override before :d thanks for the link
. My poker games only work in case you can compile hehe
