File tree 1 file changed +2
-2
lines changed
test/jdk/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
39
39
* @test
40
40
* @key headful
41
41
* @bug 8008657
42
- * @author Alexander Scherbatiy
43
42
* @summary JSpinner setComponentOrientation doesn't affect on text orientation
44
43
* @run main bug8008657
45
44
*/
@@ -137,6 +136,7 @@ static void createDateSpinner() {
137
136
calendar .add (Calendar .YEAR , -1 );
138
137
Date earliestDate = calendar .getTime ();
139
138
calendar .add (Calendar .YEAR , 1 );
139
+ calendar .add (Calendar .DAY_OF_MONTH , 1 );
140
140
Date latestDate = calendar .getTime ();
141
141
SpinnerModel dateModel = new SpinnerDateModel (initDate ,
142
142
earliestDate ,
You can’t perform that action at this time.
0 commit comments