¡@

Home 

java Programming Glossary: rectarea

Initialization in paintComponent doesn't work

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

new Disegno class MyPanel extends JPanel JPanel up down RectArea rect MyPanel this.setLayout new BorderLayout up new JPanel this.add.. down BorderLayout.SOUTH down.setVisible true rect new RectArea this.add rect BorderLayout.CENTER this.setVisible true class.. rect BorderLayout.CENTER this.setVisible true class RectArea extends JPanel Rectangle blue yellow boolean check false RectArea..