What is the best way to double buffer in this case and how to do it....
currently I have
public class Frame1 extends JFrame{
}
I am making a "paint" program, and I have individual classes to handle the paint methods heres an example:
<b>
abstract public class Shape {
public Shape() {...
For some reason the "mousePressed" and "MouseReleased" functions are not working within the jPanel1 however the mouseDragged does work. When I click the jPanel1 i tested it, it does not even run the function...
public void jPanel1_mouseReleased(MouseEvent e) {}
Heres my current code...
I have one file that contains the following information:
5 REM Calculating the n factorial, n!
15 PRINT " Enter a positive integer number:"
20 INPUT n
30 LET fact = 1
40 IF n <= 1 THEN 80
55 LET fact = fact * n
60 LET n = n - 1
70 GOTO 40
80 PRINT fact
Okay I want to get each...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.