Ejemplo n.º 1
0
 /**
  * Paint a background for all groups and a round blue border and background when a cell is
  * selected.
  *
  * @param g the <tt>Graphics</tt> object
  */
 public void paintComponent(Graphics g) {
   Graphics g2 = g.create();
   try {
     internalPaintComponent(g2);
   } finally {
     g2.dispose();
   }
   super.paintComponent(g);
 }
 public void paintComponent(Graphics g) {
   super.paintComponent(g);
 }
Ejemplo n.º 3
0
 @Override
 protected void paintComponent(Graphics g) {
   Graphics2D g2d = (Graphics2D) g;
   g2d.setRenderingHints(StartupManager.HINTS);
   super.paintComponent(g2d);
 }