- Timestamp:
- Oct 6, 2010, 4:02:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/weka/clusterers/forMetisMQI/util/GraphsFrame.java
r23 r24 16 16 */ 17 17 private static final long serialVersionUID = 1L; 18 19 private static GraphsFrame instance = null; 18 20 19 21 private int numberOfPanels = 0; … … 23 25 private JButton nextButton = null; 24 26 private JButton prevButton = null; 27 28 public static GraphsFrame instance() { 29 if(instance == null) { 30 instance = new GraphsFrame("Graphs Frame"); 31 } 32 return instance; 33 } 34 35 private GraphsFrame() { 36 37 } 25 38 26 p ublicGraphsFrame(String name) {39 private GraphsFrame(String name) { 27 40 super(name); 28 41 setBounds(new Rectangle(800, 700)); 42 setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 43 29 44 30 45 graphPanel = new JPanel();
Note: See TracChangeset
for help on using the changeset viewer.