Java JButton Create getCreateButton()

Here you can find the source of getCreateButton()

Description

get Create Button

License

Open Source License

Declaration

public static JButton getCreateButton() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.swing.JButton;

public class Main {
    public static JButton createButton = new JButton();

    public static JButton getCreateButton() {
        createButton.setToolTipText("New project");
        return createButton;
    }//w  w w.j  a  v  a  2  s  .  c  o  m
}

Related

  1. createToggleButton(ImageIcon icon, int dimension, String tooltipText, java.awt.event.ActionListener action)
  2. createToolBarButton(Action action)
  3. createToolBarButton(String text, Icon icon)
  4. createToolBarToggleButton(ImageIcon ic, String toolTip, ActionListener al)
  5. createTransparentButton(Action action, boolean withText)
  6. makeButton(Action action)
  7. makeButton(String name, ActionListener l)
  8. makeButtonActLikeLabel(JButton button)
  9. makeButtonBar(int align, Component... comps)