Problem w/ Custom Controls

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Problem w/ Custom Controls

Postby scott.klein » Tue Nov 15, 2005 12:45 pm

I am having difficulty getting my custom controls to work after both a designer upgrade (to latest) and eclipse upgrade (3.1.1).

In the designer preferences it shows all my custom controls, but I get ClassNotFoundExceptions in the log when I try to open them in designer. Also, when I try to add a custom composite/control to a new composite in designer mode I get the following:

java.lang.UnsupportedClassVersionError: com/ghd/clinical/controls/intellitext/IntelliTextClearButton (Unsupported major.minor version 49.0)

What is the cause of this?
scott.klein
 
Posts: 10
Joined: Thu Sep 22, 2005 1:38 pm

add'l info

Postby scott.klein » Tue Nov 15, 2005 12:57 pm

Designer 4.2.1 11/14/2005

Eclipse Version: 3.1.1
Build id: M20050929-0840

JRE 1.5 - we also recently moved up to this
scott.klein
 
Posts: 10
Joined: Thu Sep 22, 2005 1:38 pm

A little investigation...

Postby scott.klein » Tue Nov 15, 2005 1:13 pm

Revelead that this is a JRE issue having to do with loading classes not compiled with the 1.5 JRE

I couldn't find any specifics on whether Designer is good for 1.5 or not.
scott.klein
 
Posts: 10
Joined: Thu Sep 22, 2005 1:38 pm

re: JRE 1.5

Postby scott.klein » Tue Nov 15, 2005 1:32 pm

All of our projects use JRE 1.5. I have cleaned and re-built all of the projects, still get the same error.
scott.klein
 
Posts: 10
Joined: Thu Sep 22, 2005 1:38 pm

silly

Postby scott.klein » Tue Nov 15, 2005 3:25 pm

needed to change my system JRE. This wasn't a designer problem, just stupid old me...per usual
scott.klein
 
Posts: 10
Joined: Thu Sep 22, 2005 1:38 pm

Re: Problem w/ Custom Controls

Postby Eric Clayberg » Tue Nov 15, 2005 8:03 pm

Designer will work fine with either JDK 1.4 or 1.5.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest