/[svn]/jsampler/trunk/src/org/jsampler/view/fantasia/MainFrame.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/fantasia/MainFrame.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1204 by iliev, Thu May 24 21:43:45 2007 UTC revision 1308 by iliev, Tue Aug 28 17:00:19 2007 UTC
# Line 1  Line 1 
1  /*  /*
2   *   JSampler - a java front-end for LinuxSampler   *   JSampler - a java front-end for LinuxSampler
3   *   *
4   *   Copyright (C) 2005-2006 Grigor Iliev <grigor@grigoriliev.com>   *   Copyright (C) 2005-2007 Grigor Iliev <grigor@grigoriliev.com>
5   *   *
6   *   This file is part of JSampler.   *   This file is part of JSampler.
7   *   *
# Line 26  import java.awt.BorderLayout; Line 26  import java.awt.BorderLayout;
26  import java.awt.Dialog;  import java.awt.Dialog;
27  import java.awt.Dimension;  import java.awt.Dimension;
28  import java.awt.Frame;  import java.awt.Frame;
29    import java.awt.Graphics;
30    import java.awt.GridBagConstraints;
31    import java.awt.GridBagLayout;
32    import java.awt.Insets;
33  import java.awt.Point;  import java.awt.Point;
34    
35  import java.awt.event.ActionEvent;  import java.awt.event.ActionEvent;
36  import java.awt.event.ActionListener;  import java.awt.event.ActionListener;
37    import java.awt.event.KeyEvent;
38  import java.awt.event.MouseAdapter;  import java.awt.event.MouseAdapter;
39  import java.awt.event.MouseEvent;  import java.awt.event.MouseEvent;
40    
41    import java.io.BufferedReader;
42    import java.io.File;
43    import java.io.FileNotFoundException;
44    import java.io.FileReader;
45    
46    import java.util.Vector;
47  import java.util.logging.Level;  import java.util.logging.Level;
48    
49    import javax.swing.BorderFactory;
50  import javax.swing.Box;  import javax.swing.Box;
51  import javax.swing.BoxLayout;  import javax.swing.BoxLayout;
52  import javax.swing.JCheckBoxMenuItem;  import javax.swing.JCheckBoxMenuItem;
53    import javax.swing.JDialog;
54    import javax.swing.JFileChooser;
55    import javax.swing.JFrame;
56  import javax.swing.JMenu;  import javax.swing.JMenu;
57    import javax.swing.JMenuBar;
58  import javax.swing.JMenuItem;  import javax.swing.JMenuItem;
59  import javax.swing.JPanel;  import javax.swing.JPanel;
60  import javax.swing.JPopupMenu;  import javax.swing.JPopupMenu;
61    import javax.swing.JScrollPane;
62    import javax.swing.JSplitPane;
63  import javax.swing.JToggleButton;  import javax.swing.JToggleButton;
64    import javax.swing.KeyStroke;
65    import javax.swing.SwingUtilities;
66  import javax.swing.UIManager;  import javax.swing.UIManager;
 import javax.swing.plaf.synth.SynthLookAndFeel;  
67    
68  import net.sf.juife.TitleBar;  import net.sf.juife.TitleBar;
69    
70  import org.jsampler.CC;  import org.jsampler.CC;
71  import org.jsampler.HF;  import org.jsampler.HF;
72    import org.jsampler.LSConsoleModel;
73    
74  import org.jsampler.view.JSChannel;  import org.jsampler.view.JSChannel;
75  import org.jsampler.view.JSChannelsPane;  import org.jsampler.view.JSChannelsPane;
76  import org.jsampler.view.JSMainFrame;  import org.jsampler.view.JSMainFrame;
77    import org.jsampler.view.LscpFileFilter;
78    
79    import org.jsampler.view.std.JSamplerHomeChooser;
80    
81    import static org.jsampler.view.fantasia.A4n.a4n;
82  import static org.jsampler.view.fantasia.FantasiaI18n.i18n;  import static org.jsampler.view.fantasia.FantasiaI18n.i18n;
83    import static org.jsampler.view.fantasia.FantasiaPrefs.preferences;
84    import static org.jsampler.view.std.StdPrefs.*;
85    
86    
87  /**  /**
# Line 63  import static org.jsampler.view.fantasia Line 89  import static org.jsampler.view.fantasia
89   * @author Grigor Iliev   * @author Grigor Iliev
90   */   */
91  public class MainFrame extends JSMainFrame {  public class MainFrame extends JSMainFrame {
92          private final static int TITLE_BAR_WIDTH = 420;          private final FantasiaMenuBar menuBar = new FantasiaMenuBar();
93          private final static int TITLE_BAR_HEIGHT = 29;          private final StandardBar standardBar = new StandardBar();
94            private final MainPane mainPane = new MainPane();
95            private final DevicesPane devicesPane = new DevicesPane();
96            
97            private final JMenu recentScriptsMenu =
98                    new JMenu(i18n.getMenuLabel("actions.recentScripts"));
99            
100            private final JSplitPane hSplitPane;
101                    
102          private final ChannelsPane channelsPane = new ChannelsPane("");          private final SidePane sidePane = new SidePane();
103            
104            private LSConsoleFrame lsConsoleFrame = null;
105            private final Vector<String> recentScripts = new Vector<String>();
106                    
107                    
108          /** Creates a new instance of <code>MainFrame</code> */          /** Creates a new instance of <code>MainFrame</code> */
109          public          public
110          MainFrame() {          MainFrame() {
                 try {  
                         SynthLookAndFeel synth = new SynthLookAndFeel();  
                         synth.load(MainFrame.class.getResourceAsStream("gui.xml"), MainFrame.class);  
                         UIManager.setLookAndFeel(synth);  
                 } catch(Exception e) {  
                         CC.getLogger().log(Level.INFO, HF.getErrorMessage(e), e);  
                 }  
                   
111                  setTitle(i18n.getLabel("MainFrame.title"));                  setTitle(i18n.getLabel("MainFrame.title"));
                 addChannelsPane(channelsPane);  
                 add(channelsPane);  
                 setUndecorated(true);  
                   
                 JToggleButton btn = new PixmapToggleButton(Res.iconPowerOff, Res.iconPowerOn) {  
                         public boolean  
                         contains(int x, int y) {  
                                 return (x - 11)*(x - 11) + (y - 11)*(y - 11) < 71;  
                         }  
                 };  
                   
                 btn.setSelected(true);  
                 btn.setAlignmentX(JPanel.LEFT_ALIGNMENT);  
                 btn.addActionListener(new ActionListener() {  
                         public void  
                         actionPerformed(ActionEvent e) { onWindowClose(); }  
                 });  
                   
112                                    
113                  FantasiaTitleBar tb = new FantasiaTitleBar();                  if(Res.iconAppIcon != null) setIconImage(Res.iconAppIcon.getImage());
                 tb.setName("FantasiaTitleBar");  
                 tb.setLayout(new BoxLayout(tb, BoxLayout.X_AXIS));  
                 tb.setOpaque(true);  
                 tb.add(Box.createRigidArea(new Dimension(4, 0)));  
                 tb.add(btn);  
                 tb.add(Box.createRigidArea(new Dimension(3, 0)));  
114                                    
115                    getContentPane().add(standardBar, BorderLayout.NORTH);
116                                    
117                    addMenu();
118                                    
119                  tb.add(createVSeparator());                  addChannelsPane(mainPane.getChannelsPane());
120                                    
121                  tb.add(Box.createRigidArea(new Dimension(275, 0)));                  JScrollPane sp = new JScrollPane(createRightPane());
122                    sp.setBorder(BorderFactory.createEmptyBorder());
123                                    
124                  tb.add(createVSeparator());                  hSplitPane = new JSplitPane (
125                            JSplitPane.HORIZONTAL_SPLIT,
126                            true,   // continuousLayout
127                            sidePane, sp
128                    );
129                                    
130                  tb.add(Box.createRigidArea(new Dimension(29, 0)));                  getContentPane().add(hSplitPane);
131                                    
132                  tb.add(createVSeparator());                  int i = preferences().getIntProperty("MainFrame.hSplitDividerLocation", 220);
133                    hSplitPane.setDividerLocation(i);
134                                    
135                  tb.add(Box.createRigidArea(new Dimension(40, 0)));                  setSavedSize();
136            }
137            
138            private JPanel
139            createRightPane() {
140                    JPanel p = new JPanel();
141                    GridBagLayout gridbag = new GridBagLayout();
142                    GridBagConstraints c = new GridBagConstraints();
143                                    
144                  tb.add(createVSeparator());                  p.setLayout(gridbag);
145                                    
146                  tb.setPreferredSize(new Dimension(TITLE_BAR_WIDTH, TITLE_BAR_HEIGHT));                  c.fill = GridBagConstraints.BOTH;
                 tb.setMinimumSize(tb.getPreferredSize());  
                 tb.setMaximumSize(tb.getPreferredSize());  
                 add(tb, BorderLayout.SOUTH);  
147                                    
148                  getContentPane().setBackground(new java.awt.Color(0x818181));                  c.gridx = 1;
149                  getRootPane().setOpaque(false);                  c.gridy = 0;
150                  getLayeredPane().setOpaque(false);                  c.weightx = 1.0;
151                  //getContentPane().setVisible(false);                  c.weighty = 1.0;
152                    c.insets = new Insets(0, 3, 3, 0);
153                    gridbag.setConstraints(devicesPane, c);
154                    p.add(devicesPane);
155                    
156                    c.gridx = 0;
157                    c.gridy = 0;
158                    c.weightx = 0.0;
159                    c.weighty = 1.0;
160                    c.insets = new Insets(0, 3, 3, 3);
161                    c.fill = GridBagConstraints.VERTICAL;
162                    gridbag.setConstraints(mainPane, c);
163                    p.add(mainPane);
164                                    
165                  setAlwaysOnTop(FantasiaPrefs.isAlwaysOnTop());                  return p;
166            }
167            
168            private void
169            setSavedSize() {
170                    String s = preferences().getStringProperty("MainFrame.sizeAndLocation");
171                    if(s == null) {
172                            setDefaultSizeAndLocation();
173                            return;
174                    }
175                  pack();                  pack();
                   
                 String s = FantasiaPrefs.getWindowLocation();  
                   
176                  try {                  try {
177                          if(s == null) {                          int i = s.indexOf(',');
178                                  setDefaultLocation();                          int x = Integer.parseInt(s.substring(0, i));
                         } else {  
                                 int i = s.indexOf(',');  
                                 int x = Integer.parseInt(s.substring(0, i));  
179                                                    
180                                  s = s.substring(i + 1);                          s = s.substring(i + 1);
181                                  int y = Integer.parseInt(s);                          i = s.indexOf(',');
182                            int y = Integer.parseInt(s.substring(0, i));
183                                                    
184                                  setLocation(x, y);                          s = s.substring(i + 1);
185                          }                          i = s.indexOf(',');
186                            int width = Integer.parseInt(s.substring(0, i));
187                            
188                            s = s.substring(i + 1);
189                            int height = Integer.parseInt(s);
190                            
191                            setBounds(x, y, width, height);
192                  } catch(Exception x) {                  } catch(Exception x) {
193                          String msg = "Parsing of window size and location string failed";                          String msg = "Parsing of window size and location string failed";
194                          CC.getLogger().log(Level.INFO, msg, x);                          CC.getLogger().log(Level.INFO, msg, x);
195                          setDefaultLocation();                          setDefaultSizeAndLocation();
196                    }
197                    
198                    if(preferences().getBoolProperty("MainFrame.windowMaximized")) {
199                            setExtendedState(getExtendedState() | MAXIMIZED_BOTH);
200                  }                  }
201          }          }
202                    
203          private void          private void
204          setDefaultLocation() {          setDefaultSizeAndLocation() {
205                  Dimension d = java.awt.Toolkit.getDefaultToolkit().getScreenSize();                  setPreferredSize(new Dimension(900, 600));
206                  setLocation((d.width - TITLE_BAR_WIDTH) / 2, (d.height - TITLE_BAR_HEIGHT) / 2);                  pack();
207                    setLocationRelativeTo(null);
208          }          }
209                    
210                    
211          /** Invoked when this window is about to close. */          /** Invoked when this window is about to close. */
212          protected void          protected void
213          onWindowClose() {          onWindowClose() {
214                  FantasiaPrefs.setAlwaysOnTop(isAlwaysOnTop());                  sidePane.savePreferences();
215                    
216                    int i = hSplitPane.getDividerLocation();
217                    preferences().setIntProperty("MainFrame.hSplitDividerLocation", i);
218                    
219                    preferences().setBoolProperty (
220                            "MainFrame.windowMaximized",
221                            (getExtendedState() & MAXIMIZED_BOTH) == MAXIMIZED_BOTH
222                    );
223                    
224                    if(preferences().getBoolProperty("MainFrame.windowMaximized")) {
225                            super.onWindowClose();
226                            return;
227                    }
228                                    
229                  java.awt.Point p = getLocation();                  java.awt.Point p = getLocation();
230                  Dimension d = getSize();                  Dimension d = getSize();
231                  StringBuffer sb = new StringBuffer();                  StringBuffer sb = new StringBuffer();
232                  sb.append(p.x).append(',').append(p.y + getSize().height - TITLE_BAR_HEIGHT);                  sb.append(p.x).append(',').append(p.y).append(',');
233                  FantasiaPrefs.setWindowLocation(sb.toString());                  sb.append(d.width).append(',').append(d.height);
234                    preferences().setStringProperty("MainFrame.sizeAndLocation", sb.toString());
235                    
236                    String[] list = recentScripts.toArray(new String[recentScripts.size()]);
237                    preferences().setStringListProperty(RECENT_LSCP_SCRIPTS, list);
238                    
239                    if(preferences().getBoolProperty(SAVE_LS_CONSOLE_HISTORY)) {
240                            if(lsConsoleFrame != null) getLSConsolePane().saveConsoleHistory();
241                    }
242                                    
243                  super.onWindowClose();                  super.onWindowClose();
244          }          }
245                    
246          private JPanel          private void
247          createVSeparator() {          addMenu() {
248                  JPanel p = new JPanel();                  JMenu m;
249                  p.setName("VSeparator");                  JMenuItem mi;
250                  p.setOpaque(false);                  
251                  p.setPreferredSize(new Dimension(2, 29));                  setJMenuBar(menuBar);
252                  p.setMinimumSize(p.getPreferredSize());                  
253                  p.setMaximumSize(p.getPreferredSize());                  // Actions
254                  return p;                  m = new FantasiaMenu(i18n.getMenuLabel("actions"));
255                    
256                    mi = new JMenuItem(a4n.connect);
257                    mi.setIcon(null);
258                    //mi.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N, KeyEvent.CTRL_MASK));
259                    m.add(mi);
260                    
261                    mi = new JMenuItem(a4n.samplerInfo);
262                    mi.setIcon(null);
263                    m.add(mi);
264                    
265                    m.addSeparator();
266                    
267                    JMenu exportMenu = new JMenu(i18n.getMenuLabel("actions.export"));
268                    m.add(exportMenu);
269                    
270                    mi = new JMenuItem(a4n.exportSamplerConfig);
271                    mi.setIcon(null);
272                    mi.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, KeyEvent.CTRL_MASK));
273                    exportMenu.add(mi);
274                    
275                    mi = new JMenuItem(a4n.exportMidiInstrumentMaps);
276                    mi.setIcon(null);
277                    exportMenu.add(mi);
278                    
279                    m.addSeparator();
280                    
281                    mi = new JMenuItem(a4n.loadScript);
282                    mi.setIcon(null);
283                    m.add(mi);
284                    
285                    String[] list = preferences().getStringListProperty(RECENT_LSCP_SCRIPTS);
286                    for(String s : list) recentScripts.add(s);
287                    
288                    updateRecentScriptsMenu();
289                    
290                    m.add(recentScriptsMenu);
291                    
292                    m.addSeparator();
293                    
294                    mi = new JMenuItem(i18n.getMenuLabel("actions.exit"));
295                    m.add(mi);
296                    mi.addActionListener(new ActionListener() {
297                            public void
298                            actionPerformed(ActionEvent e) { onWindowClose(); }
299                    });
300                    
301                    menuBar.add(m);
302                    
303                    
304                    // Edit
305                    m = new FantasiaMenu(i18n.getMenuLabel("edit"));
306                    menuBar.add(m);
307                    
308                    mi = new JMenuItem(a4n.editPreferences);
309                    mi.setIcon(null);
310                    mi.setAccelerator(KeyStroke.getKeyStroke (
311                            KeyEvent.VK_P, KeyEvent.CTRL_MASK | KeyEvent.SHIFT_MASK
312                    ));
313                    m.add(mi);
314                    
315                    
316                    // Window
317                    m = new FantasiaMenu(i18n.getMenuLabel("window"));
318                    menuBar.add(m);
319                    
320                    mi = new JMenuItem(a4n.windowLSConsole);
321                    mi.setIcon(null);
322                    m.add(mi);
323                    
324                    mi = new JMenuItem(a4n.windowInstrumentsDb);
325                    mi.setIcon(null);
326                    m.add(mi);
327                    
328                    
329                    // Help
330                    m = new FantasiaMenu(i18n.getMenuLabel("help"));
331                    
332                    mi = new JMenuItem(a4n.helpAbout);
333                    mi.setIcon(null);
334                    m.add(mi);
335                    
336                    menuBar.add(m);
337          }          }
338                    
339          /**          /**
# Line 195  public class MainFrame extends JSMainFra Line 342  public class MainFrame extends JSMainFra
342           */           */
343          public void          public void
344          insertChannelsPane(JSChannelsPane pane, int idx) {          insertChannelsPane(JSChannelsPane pane, int idx) {
345                  getChannelsPaneList().removeAllElements();                  
                 addChannelsPane(pane);  
346          }          }
347                    
348          /**          /**
# Line 214  public class MainFrame extends JSMainFra Line 360  public class MainFrame extends JSMainFra
360          public void          public void
361          setSelectedChannelsPane(JSChannelsPane pane) { }          setSelectedChannelsPane(JSChannelsPane pane) { }
362                    
         public static void  
         repack(JSMainFrame frame) {  
                 int y = frame.getLocation().y;  
                 int height = frame.getSize().height;  
                 y += (height - frame.getPreferredSize().height);  
                   
                 if((height - frame.getPreferredSize().height) > 0) {  
                         frame.pack();  
                         frame.setLocation(frame.getLocation().x, y);  
                 } else {  
                         frame.setLocation(frame.getLocation().x, y);  
                         frame.pack();  
                 }  
         }  
           
363          public void          public void
364          installJSamplerHome() { }          installJSamplerHome() {
365                    JSamplerHomeChooser chooser = new JSamplerHomeChooser(this);
366                    chooser.setVisible(true);
367                    if(chooser.isCancelled()) return;
368                    
369                    CC.changeJSamplerHome(chooser.getJSamplerHome());
370            }
371                    
372          public void          public void
373          showDetailedErrorMessage(Frame owner, String err, String details) {          showDetailedErrorMessage(Frame owner, String err, String details) {
# Line 241  public class MainFrame extends JSMainFra Line 378  public class MainFrame extends JSMainFra
378          showDetailedErrorMessage(Dialog owner, String err, String details) {          showDetailedErrorMessage(Dialog owner, String err, String details) {
379                  // TODO:                  // TODO:
380          }          }
 }  
   
 class FantasiaTitleBar extends TitleBar {  
         FantasiaTitleBar() { this.addMouseListener(new ContextMenu()); }  
381                    
382          class ContextMenu extends MouseAdapter {          protected LSConsoleModel
383                  private final JPopupMenu cmenu = new JPopupMenu();          getLSConsoleModel() { return getLSConsolePane().getModel(); }
384            
385            protected LSConsolePane
386            getLSConsolePane() {
387                    return getLSConsoleFrame().getLSConsolePane();
388            }
389            
390            protected LSConsoleFrame
391            getLSConsoleFrame() {
392                    if(lsConsoleFrame == null) lsConsoleFrame = new LSConsoleFrame();
393                    return lsConsoleFrame;
394            }
395            
396            protected void
397            runScript() {
398                    String s = preferences().getStringProperty("lastScriptLocation");
399                    JFileChooser fc = new JFileChooser(s);
400                    fc.setFileFilter(new LscpFileFilter());
401                    int result = fc.showOpenDialog(this);
402                    if(result != JFileChooser.APPROVE_OPTION) return;
403                    
404                    String path = fc.getCurrentDirectory().getAbsolutePath();
405                    preferences().setStringProperty("lastScriptLocation", path);
406                                            
407                    runScript(fc.getSelectedFile());
408            }
409            
410            private void
411            runScript(String script) { runScript(new File(script)); }
412            
413            private void
414            runScript(File script) {
415                    FileReader fr;
416                    try { fr = new FileReader(script); }
417                    catch(FileNotFoundException e) {
418                            HF.showErrorMessage(i18n.getMessage("FileNotFound!"));
419                            return;
420                    }
421                                    
422                  ContextMenu() {                  BufferedReader br = new BufferedReader(fr);
423                          JMenuItem mi;                  
424                                            try {
425                          final JCheckBoxMenuItem cmi = new JCheckBoxMenuItem (                          String s = br.readLine();
426                                  i18n.getMenuLabel("FantasiaTitleBar.AlwaysOnTop")                          while(s != null) {
427                          );                                  getLSConsoleModel().setCommandLineText(s);
428                          cmi.setIcon(null);                                  getLSConsoleModel().execCommand();
429                          cmi.setSelected(FantasiaPrefs.isAlwaysOnTop());                                  s = br.readLine();
430                                                    }
431                          cmenu.add(cmi);                  } catch(Exception e) {
432                                                    HF.showErrorMessage(e);
433                          cmi.addActionListener(new ActionListener() {                          return;
                                 public void  
                                 actionPerformed(ActionEvent e) {  
                                         CC.getMainFrame().setAlwaysOnTop(cmi.isSelected());  
                                 }  
                         });  
                           
                         /*mi = new JMenuItem(A4n.moveChannelsUp);  
                         mi.setIcon(null);  
                         cmenu.add(mi);  
                           
                         cmenu.addSeparator();  
                           
                         mi = new JMenuItem(A4n.removeChannels);  
                         mi.setIcon(null);  
                         cmenu.add(mi);*/  
434                  }                  }
435                                    
436                  public void                  String s = script.getAbsolutePath();
437                  mousePressed(MouseEvent e) {                  recentScripts.remove(s);
438                          if(e.isPopupTrigger()) show(e);                  recentScripts.insertElementAt(s, 0);
439                    
440                    updateRecentScriptsMenu();
441            }
442            
443            protected void
444            clearRecentScripts() {
445                    recentScripts.removeAllElements();
446                    updateRecentScriptsMenu();
447            }
448            
449            protected void
450            updateRecentScriptsMenu() {
451                    int size = preferences().getIntProperty(RECENT_LSCP_SCRIPTS_SIZE);
452                    while(recentScripts.size() > size) {
453                            recentScripts.removeElementAt(recentScripts.size() - 1);
454                  }                  }
455                    
456                    recentScriptsMenu.removeAll();
457                    
458                    for(String script : recentScripts) {
459                            JMenuItem mi = new JMenuItem(script);
460                            recentScriptsMenu.add(mi);
461                            mi.addActionListener(new RecentScriptHandler(script));
462                    }
463                    
464                    recentScriptsMenu.setEnabled(recentScripts.size() != 0);
465            }
466                    
467            private class RecentScriptHandler implements ActionListener {
468                    private String script;
469                    
470                    RecentScriptHandler(String script) { this.script = script; }
471                    
472                  public void                  public void
473                  mouseReleased(MouseEvent e) {                  actionPerformed(ActionEvent e) {
474                          if(e.isPopupTrigger()) show(e);                          runScript(script);
475                            if(preferences().getBoolProperty(SHOW_LS_CONSOLE_WHEN_RUN_SCRIPT)) {
476                                    a4n.windowLSConsole.actionPerformed(null);
477                            }
478                  }                  }
479            }
480                    
481                  void          private static class FantasiaMenu extends JMenu {
482                  show(MouseEvent e) {                  FantasiaMenu(String s) {
483                          cmenu.show(e.getComponent(), e.getX(), e.getY());                          super(s);
484                            setFont(getFont().deriveFont(java.awt.Font.BOLD));
485                            setOpaque(false);
486                    }
487            }
488    
489            private static class FantasiaMenuBar extends JMenuBar {
490                    private static Insets pixmapInsets = new Insets(6, 6, 0, 6);
491                    
492                    FantasiaMenuBar() {
493                            setOpaque(false);
494                    }
495                    
496                    protected void
497                    paintComponent(Graphics g) {
498                            super.paintComponent(g);
499                            
500                            PixmapPane.paintComponent(this, g, Res.gfxMenuBarBg, pixmapInsets);
501                  }                  }
502          }          }
503  }  }

Legend:
Removed from v.1204  
changed lines
  Added in v.1308

  ViewVC Help
Powered by ViewVC