예제 #1
0
 protected JPanel createAttributesPanel() {
   JPanel panel = new JPanel();
   panel.setLayout(new PaletteLayout(2, new Point(2, 2), false));
   return panel;
 }
예제 #2
0
 protected JPanel createToolPalette() {
   JPanel palette = new JPanel();
   palette.setLayout(new PaletteLayout(2, new Point(2, 2)));
   return palette;
 }