File tree 1 file changed +2
-2
lines changed
jdk/test/javax/swing/JSpinner/8008657
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
36
36
/**
37
37
* @test
38
38
* @bug 8008657
39
- * @author Alexander Scherbatiy
40
39
* @summary JSpinner setComponentOrientation doesn't affect on text orientation
41
40
* @run main bug8008657
42
41
*/
@@ -122,6 +121,7 @@ static void createDateSpinner() {
122
121
calendar .add (Calendar .YEAR , -1 );
123
122
Date earliestDate = calendar .getTime ();
124
123
calendar .add (Calendar .YEAR , 1 );
124
+ calendar .add (Calendar .DAY_OF_MONTH , 1 );
125
125
Date latestDate = calendar .getTime ();
126
126
SpinnerModel dateModel = new SpinnerDateModel (initDate ,
127
127
earliestDate ,
You can’t perform that action at this time.
0 commit comments