Integrated: 8282937: Write a regression test for JDK-4820080
Manukumar V S
mvs at openjdk.java.net
Tue Mar 22 01:31:35 UTC 2022
On Sun, 13 Mar 2022 14:07:22 GMT, Manukumar V S <mvs at openjdk.org> wrote:
> Write a regression test for [JDK-4820080](https://bugs.openjdk.java.net/browse/JDK-4820080) : RFE: Cannot Change the JSplitPane Divider Color while dragging
>
> Issue(as per bug description):
> I want to change the color of the JSplitPane divider. I
> opened the code and found that, the color is hard coded to
> darkGray while one is dragging the splitDivider. I have an
> application where the components on SplitPane have black
> background, So when i drag I can not see the split getting
> dragged. Can some one fix this, by externelising the
> SplitDivider color so that it can be changed at run time.
>
> Testing:
> Java 1.4.1 -> Test Failed.
> $ ./j2sdk1.4.1/bin/java JSplitPaneDragColorTest
> Metal uses correct drag color false
> CDE/Motif uses correct drag color false
> Windows uses correct drag color false
> Test Failed.
>
> Java 1.5.0 -> Test Failed.
> $ ./jdk1.5.0/bin/java JSplitPaneDragColorTest
> Metal uses correct drag color true
> Windows uses correct drag color true
> Windows Classic uses correct drag color true
> Test Passed.
This pull request has now been integrated.
Changeset: 849b1952
Author: Manukumar V S <mvs at openjdk.org>
Committer: Sergey Bylokhov <serb at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/849b19523a666bd2ec110876bfd5679b20be77f4
Stats: 205 lines in 1 file changed: 205 ins; 0 del; 0 mod
8282937: Write a regression test for JDK-4820080
Reviewed-by: serb
-------------
PR: https://git.openjdk.java.net/jdk/pull/7803
More information about the client-libs-dev
mailing list