mxn21 / openjdk-osx-build

Automatically exported from code.google.com/p/openjdk-osx-build
0 stars 0 forks source link

UIManager SystemLookAndFeel produces black artifacts + clipping rect seems not to be correct when using JScrollPane #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Create a JFrame and place some swing components inside (I was able to 
produce this effect with JTextField and JSplitPane (among others) in the sample 
case. However there also seem to be issues with assigning the correct clipping 
rect when using JScrollPane and several Components (JTextField, buttons, etc.) 
(after scrolling) see attachments)
If the effects don't show up immediately, resize the frame or scroll around. 
Give or take focus from JTextField or move the JSplitPane Divider. Complex GUIs 
seem to react more heavy while it sometimes was not easy to provide screenshots 
for the sample-gui, because it often only flickered.

What is the expected output? What do you see instead?

I'd expect no artifacts (black boxes) and no clipping errors, concerning these 
effects, I'd expect the same lack of artifacts as in Windows 7 JDK7.

What version of the product are you using? On what operating system?

I'm using OpenJDK-OSX-1.7-universal-20110730.dmg and a Mac Mini Intel Core i5, 
Intel HD Graphics 3000, Mac OS X Lion 10.7 with an HP Monitor and (uh.. 
hopefully this is not the reason why) custom Font smoothing setting: 
"defaults -currentHost write -globalDomain AppleFontSmoothing -int 1"
(well.. anyway, if you had seen the font-smoothing provided by default, you'd 
understand why it is important to support even the manual setting of the 
smoothing by users - as I did)

Please provide any additional information below.

I attached Screenshots and Sample Code, that has been quickly made with 
Netbeans GUI Builder.

Original issue reported on code.google.com by kraeu...@gmail.com on 4 Aug 2011 at 12:23

Attachments:

GoogleCodeExporter commented 8 years ago
Ah.. sorry, forgot to mention the most important point to reproduce the issue:
Use UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); 

The issues don't appear when using Nimbus for example.

Original comment by kraeu...@gmail.com on 4 Aug 2011 at 12:47

GoogleCodeExporter commented 8 years ago
Could you retry with latest build please ?

Original comment by henri.gomez on 30 Sep 2011 at 10:26

GoogleCodeExporter commented 8 years ago
No answer from requester. Recents versions should have fix this one. Feel free 
to reopen if problem is still there 

Original comment by henri.gomez on 14 Oct 2011 at 6:53

GoogleCodeExporter commented 8 years ago
sorry, I don't didn't have the time to update and test yet. Maybe someone else 
could do this. 

Original comment by kraeu...@gmail.com on 14 Oct 2011 at 7:54