Skip to content

Commit 68f55a9

Browse files
committed
spelling: vertical
Signed-off-by: Josh Soref <[email protected]>
1 parent 40f13b2 commit 68f55a9

File tree

1 file changed

+3
-3
lines changed
  • visualvm/libs.profiler/lib.profiler.ui/src/org/graalvm/visualvm/lib/ui/components

1 file changed

+3
-3
lines changed

visualvm/libs.profiler/lib.profiler.ui/src/org/graalvm/visualvm/lib/ui/components/FlatToolBar.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)