Package versusSNP.util.swing

Examples of versusSNP.util.swing.PercentLayout


    noteArea.setFont(font);
    seqArea.setPreferredSize(Size.panel_seq_seq);
    noteArea.setPreferredSize(Size.panel_seq_note);
    JScrollPane scroll1 = new JScrollPane(seqArea,  JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
    JScrollPane scroll2 = new JScrollPane(noteArea, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
    setLayout(new PercentLayout(PercentLayout.HORIZONTAL, 2));
    add(scroll1, "60%");
    add(scroll2, "40%");
  }
View Full Code Here


    btnApply = new JButton(UICaption.dialog_option_apply);
    //btnApply.setEnabled(false);
    btnOK.addActionListener(this);
    btnCancel.addActionListener(this);
    btnApply.addActionListener(this);
    setLayout(new PercentLayout(PercentLayout.VERTICAL,2));
    alignTab = new AlignTab();
    pathTab = new PathTab();
    tabbedPane.addTab(UICaption.option_panel_caption_align, alignTab);
    tabbedPane.addTab(UICaption.option_panel_caption_path, pathTab);
    lowerPanel.add(btnOK);
View Full Code Here

TOP

Related Classes of versusSNP.util.swing.PercentLayout

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.