114115116117118119120121122123124
} else { panel.setSize(MAX_SIZE, MAX_SIZE); panel.setLayout(new FlowLayout()); panel.add(legendPanel); } panel.addNotify(); panel.validate(); } protected ImageIcon createImageIcon(String path) { java.net.URL imgURL = getClass().getResource(path);
3940414243444546474849
jb.addNotify(); } public void testJPanel(){ JPanel jp = new JPanel(); jp.addNotify(); } public void testPanel(){ Panel p = new Panel(); p.addNotify();