Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Swing - JPanel - Border Properties = Error(Error setting Border Type for JPanel with WindowBuilder)
Swing - JPanel - Border Properties = Error [message #1071132] Fri, 19 July 2013 12:14 Go to next message
Dave Garratt is currently offline Dave Garratt
Messages: 15
Registered: July 2011
Junior Member
I am running Eclipse Kepler using the J2EE download on Mac OSX Mountain Lion. If I create from scratch a simple JFrame and add a JPanel to it, I am then unable to set the Border type using the properties inspector without crashing the WindowBuilder.

WindowBuilder Core 1.6.0.r43x201305211944 org.eclipse.wb.core.feature.feature.group Eclipse.org

Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

The following error dialog appears :-

Designer [1.6.0.r43x201305211944.201307191313]: Not implemented (java.lang.ClassNotFoundException: sun.lwawt.macosx.CViewEmbeddedFrame cannot be found by org.eclipse.swt_3.102.0.v20130605-1539)
Not implemented (java.lang.ClassNotFoundException: sun.lwawt.macosx.CViewEmbeddedFrame cannot be found by org.eclipse.swt_3.102.0.v20130605-1539)

[Updated on: Fri, 19 July 2013 12:15]

Report message to a moderator

Re: Swing - JPanel - Border Properties = Error [message #1071722 is a reply to message #1071132] Sun, 21 July 2013 01:02 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric Clayberg
Messages: 868
Registered: July 2009
Location: Boston, MA
Senior Member
I did exactly as you suggested, and it worked just fine.

Note that the ClassNotFoundException you reference is being triggered by Eclipse and reported by WindowBuilder. A ClassNotFoundException like this indicates some sort of incompatibility with your Java environment. In fact it looks like it is a known Eclipse issue.

https://lh3.googleusercontent.com/-XrVc-7uIoks/Uest7KSHJOI/AAAAAAAAARw/4Z8eCg1BSaM/s1600/wb-swing-frame.png
Re: Swing - JPanel - Border Properties = Error [message #1071770 is a reply to message #1071722] Sun, 21 July 2013 04:54 Go to previous messageGo to next message
Dave Garratt is currently offline Dave Garratt
Messages: 15
Registered: July 2011
Junior Member
I have just performed a fresh download of Kepler J2EE Eclipse and this time installed the current WindowBuilder Pro Integration version. I get the same error.

What versions of Eclipse and Java are you running to get it working please ?

Thanks

Dave
Re: Swing - JPanel - Border Properties = Error [message #1072042 is a reply to message #1071770] Sun, 21 July 2013 23:42 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric Clayberg
Messages: 868
Registered: July 2009
Location: Boston, MA
Senior Member
Try running Eclipse using JDK 1.6... or wait for a patch for Eclipse bugs 374199 and 378442 to be released.
Re: Swing - JPanel - Border Properties = Error [message #1072338 is a reply to message #1072042] Mon, 22 July 2013 14:53 Go to previous messageGo to next message
Dave Garratt is currently offline Dave Garratt
Messages: 15
Registered: July 2011
Junior Member
Would I need to unistall Java 7 to get 6 to become the default. The Oracle Java control panel does not list 1.6 as a version.
Re: Swing - JPanel - Border Properties = Error [message #1072378 is a reply to message #1072338] Mon, 22 July 2013 16:31 Go to previous message
Eric Clayberg is currently offline Eric Clayberg
Messages: 868
Registered: July 2009
Location: Boston, MA
Senior Member
You should be able to have multiple JDKs installed and should not need to uninstall Java 7.
Previous Topic:Using EMF Data Binding with EMF models from separate projects
Next Topic:Official documentation on how to extend the WB
Goto Forum:
  


Current Time: Wed Oct 22 04:56:18 GMT 2014

Powered by FUDForum. Page generated in 0.02036 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software