@@ -189,7 +189,7 @@ protected void setBorderToRollover(Component c) {
189
189
//~ Static fields/initializers -----------------------------------------------------------------------------------------------
190
190
191
191
public static final int BUTTON_STYLE_HORIZONTAL = 1 ;
192
- public static final int BUTTON_STYLE_VERICAL = 2 ;
192
+ public static final int BUTTON_STYLE_VERTICAL = 2 ;
193
193
194
194
//~ Instance fields ----------------------------------------------------------------------------------------------------------
195
195
@@ -245,7 +245,7 @@ protected void addImpl(Component comp, Object constraints, int index) {
245
245
ab .setContentAreaFilled (false );
246
246
ab .setMargin (new Insets (3 , 3 , 3 , 3 ));
247
247
248
- if (buttonStyle == BUTTON_STYLE_VERICAL ) {
248
+ if (buttonStyle == BUTTON_STYLE_VERTICAL ) {
249
249
ab .setVerticalTextPosition (SwingConstants .BOTTOM );
250
250
ab .setHorizontalTextPosition (SwingConstants .CENTER );
251
251
}
@@ -257,7 +257,7 @@ protected void addImpl(Component comp, Object constraints, int index) {
257
257
protected JButton createActionComponent (Action a ) {
258
258
JButton b = super .createActionComponent (a );
259
259
260
- if (buttonStyle == BUTTON_STYLE_VERICAL ) {
260
+ if (buttonStyle == BUTTON_STYLE_VERTICAL ) {
261
261
b .putClientProperty ("hideActionText" , Boolean .FALSE ); //NOI18N
262
262
263
263
String iconBase = (String ) a .getValue ("iconBase" ); //NOI18N
0 commit comments