Package charva.awt

Examples of charva.awt.BorderLayout


    }

    public JFrame(String title_) {
        super(title_);
        this.add(_contentPane);
        _contentPane.setLayout(new BorderLayout());
    }
View Full Code Here


    super.setBackground(Toolkit.getDefaultBackground());
      }
      setTitle(title_);

      _ownerComponent = owner_;
      setLayout(new BorderLayout());

      JPanel northpan = new JPanel();
      northpan.setBorder(new EmptyBorder(2,2,1,2));

      JPanel messagepanel = new JPanel();
View Full Code Here

      /* Insert a panel in the south for the textfield and the
       * Approve and Cancel buttons.
       */
      JPanel southpanel = new JPanel();
      southpanel.setLayout(new BorderLayout());

      JPanel topsouth = new JPanel();
      topsouth.add(new JLabel("Pathname:"));
      topsouth.add(_locationField);
      _locationField.setText(_location);
View Full Code Here

    /**
     * Construct a JTabbedPane.
     */
    public JTabbedPane() {
  _insets = new Insets(2,1,1,1);
  _layoutMgr = new BorderLayout();
    }
View Full Code Here

        this.file = file;
        setBackground(Color.black);
        setForeground(Color.cyan);
        JPanel panel = (JPanel) getContentPane();
        setJMenuBar(createMenu());
        panel.setLayout(new BorderLayout());
        textArea = new JTextArea("", 19, 76);
        textArea.setForeground(Color.cyan);
        border = new TitledBorder("");
        border.setTitleColor(Color.cyan);
        JScrollPane sp = new JScrollPane(textArea);
View Full Code Here

            super("Charva Beanshell v1.0");
            setForeground(Color.green);
            setBackground(Color.black);

            Container cp = super.getContentPane();
            cp.setLayout(new BorderLayout());

            addMenuBar();

            messagePanel.setLayout(new BoxLayout(messagePanel, BoxLayout.Y_AXIS));
            topLabel = new JLabel("F12[evaluate], F1[clear-output], F5[clear-editor]");
            messagePanel.add(topLabel);
            bottomLabel = new JLabel("");
            messagePanel.add(bottomLabel);

            cp.add(messagePanel, BorderLayout.SOUTH);

            editor = new JTextArea(example, 8, 75);
            JScrollPane scrollEditor = new JScrollPane(editor);
            scrollEditor.setViewportBorder(new TitledBorder("Beanshell Editor"));

            output = new JTextArea("BSH output", 7, 75);
            output.setLineWrap(true);

            JScrollPane scrollOutput = new JScrollPane(output);
            scrollOutput.setViewportBorder(new TitledBorder("Beanshell Output"));

            bshPanel.setLayout(new BorderLayout());
            bshPanel.add(scrollEditor, BorderLayout.NORTH);
            bshPanel.add(scrollOutput, BorderLayout.SOUTH);
            cp.add(bshPanel, BorderLayout.CENTER);

            editor.addKeyListener(new KeyAdapter() {
View Full Code Here

    private void initialize() {
        contentPane = (JPanel) getContentPane();
        setBackground(Color.black);
        setForeground(Color.cyan);
        contentPane.setLayout(new BorderLayout());
        JPanel northPanel = new JPanel();
        northPanel.setLayout(new FlowLayout());
        northPanel.add(getRootObjectPanel());
        northPanel.add(getPropertiesPane());
        contentPane.add(northPanel, BorderLayout.NORTH);
View Full Code Here

TOP

Related Classes of charva.awt.BorderLayout

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.