Package qat.components

Examples of qat.components.ComboText


          c.setToolTipText(key);
        }
        if (key.startsWith("qat.project.guiproperty.textfield")) {
          name = key.substring(34,key.length());
          value = (String)p.get(key);
          components3.add(c = new ComboText(name, value));
          c.setToolTipText(key);
        }
        if ((key.startsWith("qat.project.guiproperty.combobox"))&&
            (key.indexOf(".values")<0)) {
          name = key.substring(33,key.length());
View Full Code Here


    temp.add(syntaxHighlighting = new JCheckBox(Resources.getString("syntaxHighlighting")));
    temp.add(resetStatus = new JCheckBox(Resources.getString("resetStatus")));

    JPanel t;
    // console buffer size
    temp.add(bufferSize = new ComboText(Resources.getString("bufferSizeLabel"),6),BorderLayout.WEST);

    // console debug level
    temp.add(debugLevel = new ComboText(Resources.getString("debugLevelLabel"),6),BorderLayout.WEST);

    // look and feel
    t = new JPanel(new BorderLayout());
    temp.add(new JLabel(Resources.getString("lookAndFeel"),SwingConstants.CENTER));
    javax.swing.UIManager.LookAndFeelInfo installed[] = UIManager.getInstalledLookAndFeels();
    String lfNames[] = new String[installed.length];
    for (int i = 0; i < installed.length; i++)
      lfNames[i] = installed[i].getClassName();
    t.add(lookAndFeel = new JComboBox(lfNames));
    lookAndFeel.setSelectedItem(UIManager.getLookAndFeel().getClass().getName());
    temp.add(t);

    centerPanel.add(temp);

    // add the test path panel
    temp = new JPanel(new GridLayout(2,1));
    temp.setBorder(BorderFactory.createTitledBorder(Resources.getString("testSettings")));

    // test path
    t = new JPanel(new BorderLayout());
    JPanel t2 = new JPanel(new FlowLayout());
    t.add(new JLabel(Resources.getString("testPath")),BorderLayout.WEST);
    t.add(testDirectoryPath = new JTextField(35),BorderLayout.CENTER);
    t.add(browseButton = new JButton(Resources.getString("browse")),BorderLayout.EAST);
    t2.add(t);
    temp.add(t2);
    // http port
    temp.add(httpPort = new ComboText(Resources.getString("httpPort"),5));

    browseButton.addActionListener(this);
    centerPanel.add(temp);

    tabbedPane.add(Resources.getString("projectSettings"),centerPanel);
View Full Code Here

TOP

Related Classes of qat.components.ComboText

Copyright © 2018 www.massapicom. 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.