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

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

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

revision 1742 by iliev, Tue Apr 29 22:22:40 2008 UTC revision 1743 by iliev, Sat May 31 23:04:01 2008 UTC
# Line 88  import org.jsampler.view.DbDirectoryTree Line 88  import org.jsampler.view.DbDirectoryTree
88  import org.jsampler.view.InstrumentsDbTableModel;  import org.jsampler.view.InstrumentsDbTableModel;
89  import org.jsampler.view.InstrumentsDbTableView;  import org.jsampler.view.InstrumentsDbTableView;
90  import org.jsampler.view.std.JSInstrumentsDbTable;  import org.jsampler.view.std.JSInstrumentsDbTable;
 import org.jsampler.view.std.JSInstrumentsDbTree;  
91  import org.jsampler.view.std.JSLostFilesDlg;  import org.jsampler.view.std.JSLostFilesDlg;
92    
93    import org.jvnet.substance.SubstanceLookAndFeel;
94    
95  import org.linuxsampler.lscp.DbDirectoryInfo;  import org.linuxsampler.lscp.DbDirectoryInfo;
96  import org.linuxsampler.lscp.DbInstrumentInfo;  import org.linuxsampler.lscp.DbInstrumentInfo;
97  import org.linuxsampler.lscp.DbSearchQuery;  import org.linuxsampler.lscp.DbSearchQuery;
# Line 107  import static org.jsampler.view.fantasia Line 108  import static org.jsampler.view.fantasia
108  public class InstrumentsDbFrame extends JFrame {  public class InstrumentsDbFrame extends JFrame {
109          private final ToolBar toolbar;          private final ToolBar toolbar;
110          private final JMenuBar menuBar = new JMenuBar();          private final JMenuBar menuBar = new JMenuBar();
111          private final JSInstrumentsDbTree instrumentsDbTree;          private final FantasiaInstrumentsDbTree instrumentsDbTree;
112          private final SidePane sidePane;          private final SidePane sidePane;
113          private final JSplitPane splitPane;          private final JSplitPane splitPane;
114          private final MainPane mainPane;          private final MainPane mainPane;
# Line 130  public class InstrumentsDbFrame extends Line 131  public class InstrumentsDbFrame extends
131                  setTitle(i18n.getLabel("InstrumentsDbFrame.title"));                  setTitle(i18n.getLabel("InstrumentsDbFrame.title"));
132                  if(Res.iconAppIcon != null) setIconImage(Res.iconAppIcon.getImage());                  if(Res.iconAppIcon != null) setIconImage(Res.iconAppIcon.getImage());
133                                    
134                  instrumentsDbTree = new JSInstrumentsDbTree(CC.getInstrumentsDbTreeModel());                  instrumentsDbTree = new FantasiaInstrumentsDbTree(CC.getInstrumentsDbTreeModel());
135                  CC.addInstrumentsDbChangeListener(new ChangeListener() {                  CC.addInstrumentsDbChangeListener(new ChangeListener() {
136                          public void                          public void
137                          stateChanged(ChangeEvent e) {                          stateChanged(ChangeEvent e) {
# Line 639  public class InstrumentsDbFrame extends Line 640  public class InstrumentsDbFrame extends
640                  }                  }
641          }          }
642                    
643          public JSInstrumentsDbTree          public FantasiaInstrumentsDbTree
644          getInstrumentsDbTree() { return instrumentsDbTree; }          getInstrumentsDbTree() { return instrumentsDbTree; }
645                    
646          public void          public void
# Line 687  public class InstrumentsDbFrame extends Line 688  public class InstrumentsDbFrame extends
688                  MainPane() {                  MainPane() {
689                          setLayout(new BorderLayout());                          setLayout(new BorderLayout());
690                          JScrollPane sp = new JScrollPane(instrumentsTable);                          JScrollPane sp = new JScrollPane(instrumentsTable);
691                            sp.setOpaque(false);
692                            sp.getViewport().setOpaque(false);
693                          add(sp);                          add(sp);
694                                                    
695                          //instrumentsTable.setBackground(new java.awt.Color(0x626262));                          //instrumentsTable.setBackground(new java.awt.Color(0x626262));

Legend:
Removed from v.1742  
changed lines
  Added in v.1743

  ViewVC Help
Powered by ViewVC