118 |
bgp.setMinimumSize(getPreferredSize()); |
bgp.setMinimumSize(getPreferredSize()); |
119 |
bgp.setMaximumSize(getPreferredSize()); |
bgp.setMaximumSize(getPreferredSize()); |
120 |
|
|
121 |
JPanel p = new JPanel(); |
JPanel p = new FantasiaPanel(); |
122 |
p.setBorder(BorderFactory.createEmptyBorder(3, 4, 3, 4)); |
p.setBorder(BorderFactory.createEmptyBorder(3, 4, 3, 4)); |
123 |
p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); |
p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); |
124 |
JLabel l = new JLabel(Res.gfxMidiInputTitle); |
JLabel l = new JLabel(Res.gfxMidiInputTitle); |
125 |
l.setAlignmentX(LEFT_ALIGNMENT); |
l.setAlignmentX(LEFT_ALIGNMENT); |
126 |
p.add(l); |
p.add(l); |
127 |
|
|
128 |
JPanel p2 = new JPanel(); |
JPanel p2 = new FantasiaPanel(); |
129 |
p2.setBorder(BorderFactory.createEmptyBorder(3, 0, 0, 0)); |
p2.setBorder(BorderFactory.createEmptyBorder(3, 0, 0, 0)); |
130 |
p2.setLayout(new BoxLayout(p2, BoxLayout.X_AXIS)); |
p2.setLayout(new BoxLayout(p2, BoxLayout.X_AXIS)); |
131 |
|
|
168 |
|
|
169 |
bgp.add(Box.createRigidArea(new Dimension(4, 0))); |
bgp.add(Box.createRigidArea(new Dimension(4, 0))); |
170 |
|
|
171 |
p = new JPanel(); |
p = new FantasiaPanel(); |
172 |
p.setOpaque(true); |
p.setOpaque(true); |
173 |
p.setBorder(BorderFactory.createEmptyBorder(3, 4, 3, 4)); |
p.setBorder(BorderFactory.createEmptyBorder(3, 4, 3, 4)); |
174 |
p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); |
p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); |
192 |
|
|
193 |
bgp.add(Box.createRigidArea(new Dimension(4, 0))); |
bgp.add(Box.createRigidArea(new Dimension(4, 0))); |
194 |
|
|
195 |
p = new JPanel(); |
p = new FantasiaPanel(); |
196 |
p.setOpaque(true); |
p.setOpaque(true); |
197 |
p.setBorder(BorderFactory.createEmptyBorder(3, 4, 3, 4)); |
p.setBorder(BorderFactory.createEmptyBorder(3, 4, 3, 4)); |
198 |
p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); |
p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); |
202 |
|
|
203 |
//p.add(Box.createRigidArea(new Dimension(0, 3))); |
//p.add(Box.createRigidArea(new Dimension(0, 3))); |
204 |
|
|
205 |
p2 = new JPanel(); |
p2 = new FantasiaPanel(); |
206 |
p2.setBorder(BorderFactory.createEmptyBorder(3, 0, 0, 0)); |
p2.setBorder(BorderFactory.createEmptyBorder(3, 0, 0, 0)); |
207 |
p2.setLayout(new BoxLayout(p2, BoxLayout.X_AXIS)); |
p2.setLayout(new BoxLayout(p2, BoxLayout.X_AXIS)); |
208 |
p2.setOpaque(false); |
p2.setOpaque(false); |
235 |
|
|
236 |
p.add(p2); |
p.add(p2); |
237 |
p.setBackground(new java.awt.Color(0x818181)); |
p.setBackground(new java.awt.Color(0x818181)); |
238 |
p2 = new JPanel(); |
p2 = new FantasiaPanel(); |
239 |
p2.setLayout(new java.awt.BorderLayout()); |
p2.setLayout(new java.awt.BorderLayout()); |
240 |
p.add(p2); |
p.add(p2); |
241 |
bgp.add(p); |
bgp.add(p); |