예제 #1
0
 private TicketJPanel getRightPanel() {
   if (rightPanel == null) {
     rightPanel = new TicketJPanel();
     rightPanel.setBackground(Color.RED);
   }
   return rightPanel;
 }
예제 #2
0
 private TicketJPanel getLeftPanel() {
   if (leftPanel == null) {
     leftPanel = new TicketJPanel();
     leftPanel.setBackground(Color.BLUE);
   }
   return leftPanel;
 }