2-APL UPC project.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

window size adjusted

fdesan c5094109 32895d68

+12 -2
+12 -2
code/2apl_platform/environments/cardtable/Table.java
··· 57 57 VerticalSplitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, 58 58 TablePane,GameInfo); 59 59 60 - VerticalSplitPane.setPreferredSize(new Dimension(360,600)); 60 + VerticalSplitPane.setPreferredSize(new Dimension(150,150)); 61 + VerticalSplitPane.setOneTouchExpandable(false); 62 + VerticalSplitPane.setDividerLocation(400); 61 63 62 64 //AddPlayersGUI(); 63 65 addComponentsToPane(CardDisplayPane); ··· 68 70 CardDisplayPane,VerticalSplitPane ); 69 71 70 72 //Provide a preferred size for the split pane. 71 - HorizontalSplitPlane.setPreferredSize(new Dimension(800,600)); 73 + HorizontalSplitPlane.setPreferredSize(new Dimension(150,150)); 74 + HorizontalSplitPlane.setOneTouchExpandable(false); 75 + HorizontalSplitPlane.setDividerLocation(600); 76 + 72 77 73 78 getContentPane().add(HorizontalSplitPlane); 74 79 ··· 86 91 label.setForeground(Color.black); 87 92 label.setBorder(BorderFactory.createLineBorder(Color.black)); 88 93 label.setBounds(origin.x, origin.y, 140, 140); 94 + 95 + pack(); 96 + setSize( 1024, 768 ); 97 + setVisible( true ); 98 + 89 99 return label; 90 100 } 91 101