SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
835 B

package de.memtext.buttons;
import javax.swing.JButton;
/**
* @author MB
*
* JButtons not as static variables, because can be used in different
* places in one application, setting one be invisible would make all invisible
*/
public class Standard {
/**
* Constructor for Standard.
*/
private Standard() {
super();
}
public static JButton getCopy() {
JButton copy = new JButton(de.memtext.icons.MBStandardIcons.getCopy());
copy.setToolTipText("Kopieren");
copy.setActionCommand("copy");
return copy;
}
public static JButton getCopyWithText() {
JButton copy = new JButton("Kopieren", de.memtext.icons.MBStandardIcons.getCopy());
copy.setToolTipText("Kopieren");
copy.setActionCommand("copy");
return copy;
}
}