¡@

Home 

java Programming Glossary: disegno

Initialization in paintComponent doesn't work

http://stackoverflow.com/questions/11376272/initialization-in-paintcomponent-doesnt-work

and Swing API. Why do I have a nullPointerException in the Disegno constructor I want to print the coordinates of the two rectangles.. javax.swing.JFrame import javax.swing.JPanel public class Disegno extends JFrame Disegno this.setSize 500 500 this.setDefaultCloseOperation.. javax.swing.JPanel public class Disegno extends JFrame Disegno this.setSize 500 500 this.setDefaultCloseOperation this.EXIT_ON_CLOSE..