Here you can find the source of getCreateButton()
public static JButton getCreateButton()
//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 }