Package de.sciss.gui

Examples of de.sciss.gui.SpringPanel.gridAdd()


    ggScroll = new JScrollPane( ggListActivate );
    pane2.gridAdd( new JLabel( "Detected deactivated devices:" ), 0, row++, 2, 1 );
    pane2.gridAdd( ggScroll, 0, row++, 2, 1 );
    pane2.gridAdd( new JLabel( "Action:", RIGHT ), 0, row );
    ggComboActivate = new JComboBox( new Object[] { "Ignore", "Make active" });
    pane2.gridAdd( ggComboActivate, 1, row++ );
    pane2.gridAdd( createVSep(), 0, row++, 2, 1 );

//    ggSep  = new JSeparator();
//    ggSep.setBorder( BorderFactory.createEmptyBorder( 8, 0, 8, 0 ));
//    pane2.gridAdd( ggSep, 0, row++, 2, 1 );
View Full Code Here


    pane2.gridAdd( new JLabel( "Detected deactivated devices:" ), 0, row++, 2, 1 );
    pane2.gridAdd( ggScroll, 0, row++, 2, 1 );
    pane2.gridAdd( new JLabel( "Action:", RIGHT ), 0, row );
    ggComboActivate = new JComboBox( new Object[] { "Ignore", "Make active" });
    pane2.gridAdd( ggComboActivate, 1, row++ );
    pane2.gridAdd( createVSep(), 0, row++, 2, 1 );

//    ggSep  = new JSeparator();
//    ggSep.setBorder( BorderFactory.createEmptyBorder( 8, 0, 8, 0 ));
//    pane2.gridAdd( ggSep, 0, row++, 2, 1 );
    ggListRemove = new JList();
View Full Code Here

//    ggSep  = new JSeparator();
//    ggSep.setBorder( BorderFactory.createEmptyBorder( 8, 0, 8, 0 ));
//    pane2.gridAdd( ggSep, 0, row++, 2, 1 );
    ggListRemove = new JList();
    ggScroll = new JScrollPane( ggListRemove );
    pane2.gridAdd( new JLabel( "Devices not found:" ), 0, row++, 2, 1 );
    pane2.gridAdd( ggScroll, 0, row++, 2, 1 );
    pane2.gridAdd( new JLabel( "Action:", RIGHT ), 0, row );
    ggComboRemove = new JComboBox( new Object[] { "Ignore", "Make inactive", "Remove from list" });   
    pane2.gridAdd( ggComboRemove, 1, row++ );
    pane2.setVisible( false );
View Full Code Here

//    ggSep.setBorder( BorderFactory.createEmptyBorder( 8, 0, 8, 0 ));
//    pane2.gridAdd( ggSep, 0, row++, 2, 1 );
    ggListRemove = new JList();
    ggScroll = new JScrollPane( ggListRemove );
    pane2.gridAdd( new JLabel( "Devices not found:" ), 0, row++, 2, 1 );
    pane2.gridAdd( ggScroll, 0, row++, 2, 1 );
    pane2.gridAdd( new JLabel( "Action:", RIGHT ), 0, row );
    ggComboRemove = new JComboBox( new Object[] { "Ignore", "Make inactive", "Remove from list" });   
    pane2.gridAdd( ggComboRemove, 1, row++ );
    pane2.setVisible( false );
    pane.add( pane2, BorderLayout.CENTER );
View Full Code Here

//    pane2.gridAdd( ggSep, 0, row++, 2, 1 );
    ggListRemove = new JList();
    ggScroll = new JScrollPane( ggListRemove );
    pane2.gridAdd( new JLabel( "Devices not found:" ), 0, row++, 2, 1 );
    pane2.gridAdd( ggScroll, 0, row++, 2, 1 );
    pane2.gridAdd( new JLabel( "Action:", RIGHT ), 0, row );
    ggComboRemove = new JComboBox( new Object[] { "Ignore", "Make inactive", "Remove from list" });   
    pane2.gridAdd( ggComboRemove, 1, row++ );
    pane2.setVisible( false );
    pane.add( pane2, BorderLayout.CENTER );
    AbstractWindowHandler.setDeepFont( pane );
View Full Code Here

    ggScroll = new JScrollPane( ggListRemove );
    pane2.gridAdd( new JLabel( "Devices not found:" ), 0, row++, 2, 1 );
    pane2.gridAdd( ggScroll, 0, row++, 2, 1 );
    pane2.gridAdd( new JLabel( "Action:", RIGHT ), 0, row );
    ggComboRemove = new JComboBox( new Object[] { "Ignore", "Make inactive", "Remove from list" });   
    pane2.gridAdd( ggComboRemove, 1, row++ );
    pane2.setVisible( false );
    pane.add( pane2, BorderLayout.CENTER );
    AbstractWindowHandler.setDeepFont( pane );
   
//    op = new JOptionPane( pane, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION,
View Full Code Here

      ggMarkPos.addSpace( ParamSpace.spcTimeMillis );
      ggMarkPos.addSpace( ParamSpace.spcTimePercentF );

      lb        = new JLabel( getResourceString( "labelName" ));
//      lb.setLabelFor( ggMarkName );
      spring.gridAdd( lb, 0, 0 );
      spring.gridAdd( ggMarkName, 1, 0 );
      lb        = new JLabel( getResourceString( "labelPosition" ));
//      lb.setLabelFor( ggMarkPos );
      spring.gridAdd( lb, 0, 1 );
      spring.gridAdd( ggMarkPos, 1, 1, -1, 1 );
View Full Code Here

      ggMarkPos.addSpace( ParamSpace.spcTimePercentF );

      lb        = new JLabel( getResourceString( "labelName" ));
//      lb.setLabelFor( ggMarkName );
      spring.gridAdd( lb, 0, 0 );
      spring.gridAdd( ggMarkName, 1, 0 );
      lb        = new JLabel( getResourceString( "labelPosition" ));
//      lb.setLabelFor( ggMarkPos );
      spring.gridAdd( lb, 0, 1 );
      spring.gridAdd( ggMarkPos, 1, 1, -1, 1 );
//      GUIUtil.setDeepFont( spring, null );
View Full Code Here

//      lb.setLabelFor( ggMarkName );
      spring.gridAdd( lb, 0, 0 );
      spring.gridAdd( ggMarkName, 1, 0 );
      lb        = new JLabel( getResourceString( "labelPosition" ));
//      lb.setLabelFor( ggMarkPos );
      spring.gridAdd( lb, 0, 1 );
      spring.gridAdd( ggMarkPos, 1, 1, -1, 1 );
//      GUIUtil.setDeepFont( spring, null );
      spring.makeCompactGrid();
      editMarkerPane  = new JPanel( new BorderLayout() );
      editMarkerPane.add( spring, BorderLayout.NORTH );
View Full Code Here

      spring.gridAdd( lb, 0, 0 );
      spring.gridAdd( ggMarkName, 1, 0 );
      lb        = new JLabel( getResourceString( "labelPosition" ));
//      lb.setLabelFor( ggMarkPos );
      spring.gridAdd( lb, 0, 1 );
      spring.gridAdd( ggMarkPos, 1, 1, -1, 1 );
//      GUIUtil.setDeepFont( spring, null );
      spring.makeCompactGrid();
      editMarkerPane  = new JPanel( new BorderLayout() );
      editMarkerPane.add( spring, BorderLayout.NORTH );
     
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.