public BuddyButton(String text) { super(text); setFocusable(false); setMargin(SearchFieldUI.NO_INSETS); // Windows UI will add 1 pixel for width and height, if this is true setFocusPainted(false); setBorderPainted(false); setContentAreaFilled(false); setIconTextGap(0); setBorder(null); setOpaque(false); setCursor(Cursor.getDefaultCursor()); }
public BuddyButton(String text) { super(text); setFocusable(false); setMargin(SearchFieldUI.NO_INSETS); // Windows UI will add 1 pixel for width and height, if this is true setFocusPainted(false); setBorderPainted(false); setContentAreaFilled(false); setIconTextGap(0); setBorder(null); setOpaque(false); setCursor(Cursor.getDefaultCursor()); }
public BuddyButton(String text) { super(text); setFocusable(false); setMargin(SearchFieldUI.NO_INSETS); // Windows UI will add 1 pixel for width and height, if this is true setFocusPainted(false); setBorderPainted(false); setContentAreaFilled(false); setIconTextGap(0); setBorder(null); setOpaque(false); setCursor(Cursor.getDefaultCursor()); }
public BuddyButton(String text) { super(text); setFocusable(false); setMargin(SearchFieldUI.NO_INSETS); // Windows UI will add 1 pixel for width and height, if this is true setFocusPainted(false); setBorderPainted(false); setContentAreaFilled(false); setIconTextGap(0); setBorder(null); setOpaque(false); setCursor(Cursor.getDefaultCursor()); }