This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 251659 - Rendering issues on OSX with jdk 8u40
Summary: Rendering issues on OSX with jdk 8u40
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.0.2
Hardware: Macintosh (x86) Mac OS X
: P3 normal with 1 vote (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-05 09:29 UTC by lanthale
Modified: 2015-04-20 18:12 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Swingx component including source code and example for embeding into a topcomponent (4.04 MB, application/x-octet-stream)
2015-04-05 09:29 UTC, lanthale
Details
Source code of the mapx component (1.25 MB, application/x-octet-stream)
2015-04-20 18:12 UTC, lanthale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lanthale 2015-04-05 09:29:02 UTC
Created attachment 153044 [details]
Swingx component including source code and example for embeding into a topcomponent

I have ported my NB RCP application from NB 7.4/JDK 6 to NB 8.02/JDK8u40. The issues is that I am using the maps component from swingx team. The component on JDK 8 is working as expected with all the layers. 

If I embed this component into a Topcomponent the redraw is only done when I resize the Topcomponent. First I thought it is a JDK issues but I have tested this with the component alone (see attached example). 

As an attachment I have added the swingx component I am using (There is an example code an a NB project included - start src/java/org/jdesktop/swingx/JXMapKitNewMapViewer.java).

There seems to be a general rendering issue in Netbeans with Swing components drawing in Java2D.

OS: OSX 10.10
JDK: 1.8.0_40-b26
Comment 1 matthias42 2015-04-06 09:45:36 UTC
Looks like you missed the source code and sample. The attached zip contains libs but no source code.
Comment 2 lanthale 2015-04-20 18:12:55 UTC
Created attachment 153278 [details]
Source code of the mapx component

I made now further tests. If you set the cache option for all layers on top of the map component to false than it is working again. So it could be a JDK issue as it is the same with the corrupted progress bar on startup of netbeans itself.