Package javax.swing

Examples of javax.swing.BoxLayout


        protected JTextField tfDynaStep;
        protected ActionCheckBox cbDynaEnd;
        protected JTextField tfDynaStop;
       
        public OptionPanel() {
            setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
           
            Box box = Box.createHorizontalBox();
            box.add(rbStatic = new JRadioButton(resources.getString("static"),true));
            box.add(Box.createHorizontalGlue());
            add(box);
View Full Code Here


   
    JPanel congratulations = new JPanel(new BorderLayout());
    congratulations.add(new JLabel(resources.getIcon("flagIcon")), BorderLayout.WEST);
   
    JPanel congratulationsText = new JPanel();
    congratulationsText.setLayout(new BoxLayout(congratulationsText, BoxLayout.Y_AXIS));
   
    JLabel cong= new JLabel(resources.getString("congratulations"));
    cong.setFont(new Font("Dialog", Font.PLAIN,24));
    congratulationsText.add(cong);
   
View Full Code Here

 
    protected NumberField nfPeriod;
    protected JCheckBox cbAutoStop;

    public PropertiesPanel() {
      setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
      Box box = Box.createHorizontalBox();
      box.add(new JLabel(resources.getString("Period")));
      box.add(Box.createHorizontalGlue());
      box.add(nfPeriod = new NumberField(getPeriod(), 5));
      add(box);
View Full Code Here

 
    protected NumberField nfPeriod;
    protected JCheckBox cbAutoStop;

    public PropertiesPanel() {
      setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
      Box box = Box.createHorizontalBox();
      box.add(new JLabel(resources.getString("Period")));
      box.add(Box.createHorizontalGlue());
      box.add(nfPeriod = new NumberField(getPeriod(), 5));
      add(box);
View Full Code Here

        protected Color baseColor, highlightColor;
      protected DataSource baseColorMapperSource, highlightColorMapperSource;
      protected ColorMapper baseColorMapper, highlightColorMapper;

        public PropertiesPanel(boolean showName) {
            setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));

            // init from outer
            baseColor = ShapeNode.this.baseColor;
            highlightColor = ShapeNode.this.highlightColor;
            baseColorMapperSource = ShapeNode.this.baseColorMapperSource;
View Full Code Here

   */
  protected JPanel createCurveStatisticsPanel(){

    JPanel ret=new JPanel();
    ret.setBorder(BorderFactory.createTitledBorder(null,resources.getString("curvesStatistics"),TitledBorder.CENTER, TitledBorder.TOP, null));
    ret.setLayout(new BoxLayout(ret,BoxLayout.Y_AXIS));
   
    // Fisrt set xmin and xmax
    upateGlobalStatistics();
   
    // Then set curves statistics
View Full Code Here

   
    // Statistic tab
    JPanel statistics2  = new JPanel(new BorderLayout());
    JPanel statistics  = new JPanel();
    statistics.setBorder(BorderFactory.createEmptyBorder(0,10,10,10));
    statistics.setLayout(new BoxLayout(statistics,BoxLayout.Y_AXIS));
   
    JPanel p1 = new JPanel(new BorderLayout());
    JLabel statTitle = new JLabel(resources.getStringValue("plotStatistics"));
    statTitle.setFont(new Font("Dialog", Font.PLAIN,18));
    p1.add(statTitle, BorderLayout.WEST);
View Full Code Here

    NumberField tfrangemin, tfrangemax, tfnrangemin, tfnrangemax, tfwrangemin, tfwrangemax, tfcrangemin, tfcrangemax;
    JLabel lrangemin, lrangemax, lnrangemin, lnrangemax, lwrangemin, lwrangemax, lcrangemin, lcrangemax;
    JTextField tfTitle;
   
    public BoundsPanel() {
      setLayout(new BoxLayout(this, BoxLayout.PAGE_AXIS));
      Box p1 = new Box(BoxLayout.Y_AXIS);
     
      setName(resources.getString("Properties"));

      JPanel panel;
View Full Code Here

                if (pluginLineWritten) {
                    content += "</ul></p>";
                }
                JEditorPane jdp = new JEditorPane("text/html", content);
                jdp.setEditable(false);
                aboutFrame.getContentPane().setLayout(new BoxLayout(aboutFrame.getContentPane(), BoxLayout.Y_AXIS));
                // Set Header
                JPanel header = new JPanel(new BorderLayout());
                header.setBackground(Color.WHITE);
                JLabel headerLogo = new JLabel(resources.getIcon("jsynIconHightResIcon"));
                headerLogo.setBackground(Color.WHITE);
View Full Code Here

        protected JTextField tfPeriod;
        protected ActionCheckBox cbSeed;
        protected JTextField tfSeed;
       
        public OptionPanel() {
            setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
           
            Box box = Box.createHorizontalBox();
            box.add(new JLabel(param1Name()));
            box.add(Box.createHorizontalGlue());
            box.add(nfParam1 = new NumberField(0.0));
View Full Code Here

TOP

Related Classes of javax.swing.BoxLayout

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.