@@ -189,7 +189,7 @@ protected void setBorderToRollover(Component c) {
189189 //~ Static fields/initializers -----------------------------------------------------------------------------------------------
190190
191191 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 ;
193193
194194 //~ Instance fields ----------------------------------------------------------------------------------------------------------
195195
@@ -245,7 +245,7 @@ protected void addImpl(Component comp, Object constraints, int index) {
245245 ab .setContentAreaFilled (false );
246246 ab .setMargin (new Insets (3 , 3 , 3 , 3 ));
247247
248- if (buttonStyle == BUTTON_STYLE_VERICAL ) {
248+ if (buttonStyle == BUTTON_STYLE_VERTICAL ) {
249249 ab .setVerticalTextPosition (SwingConstants .BOTTOM );
250250 ab .setHorizontalTextPosition (SwingConstants .CENTER );
251251 }
@@ -257,7 +257,7 @@ protected void addImpl(Component comp, Object constraints, int index) {
257257 protected JButton createActionComponent (Action a ) {
258258 JButton b = super .createActionComponent (a );
259259
260- if (buttonStyle == BUTTON_STYLE_VERICAL ) {
260+ if (buttonStyle == BUTTON_STYLE_VERTICAL ) {
261261 b .putClientProperty ("hideActionText" , Boolean .FALSE ); //NOI18N
262262
263263 String iconBase = (String ) a .getValue ("iconBase" ); //NOI18N
0 commit comments