Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » A specific JRE version for projects?
A specific JRE version for projects? [message #611618] Thu, 15 December 2005 18:37
Wayne is currently offline Wayne
Messages: 5
Registered: July 2009
Junior Member
To anyone who can help...

We are currently required to use JRE version 1.3.1_10 for our application
builds. Previously we used version 3.0.1 of Eclipse and the associated
release of VE for our dialog design. We experienced no issues with this
setup.

We are in the process of updating to version 3.1.0 of Eclipse with the
associated release of VE. However, we are experiencing issues with VE not
working with our dialogs anymore. Nore does it seem to be working with a
newly created class extending java.awt.Frame, we encounter a
NullPointerException. If we swich the JRE System Library in our project to
JRE version 1.4.2_08 things seem to be okay. But, we are required to use
version 1.3.1_10.

My question are... Does version 1.1.0.1 of the VE require that projects be
built with version 1.4.2_08 of the JRE (I'm aware of the note stating the
BeanInfo for SWT needs it to work properly, but we don't use SWT)? Is
there a way to specify which version of the JRE the VE design view should
use to build the view? Or is there something I'm missing and/or
overlooking?

Thanks in advance for any assistance...

Wayne

Just to add, this code works and displays in the VE Design tab with the
project being built with JRE 1.4.2_08 but not with 1.3.1_10.

import java.awt.Frame;
import java.awt.GraphicsConfiguration;

public class TestFrame extends Frame {

public TestFrame() {
super();
// TODO Auto-generated constructor stub
initialize();
}

public TestFrame(GraphicsConfiguration arg0) {
super(arg0);
// TODO Auto-generated constructor stub
initialize();
}

public TestFrame(String arg0) {
super(arg0);
// TODO Auto-generated constructor stub
initialize();
}

public TestFrame(String arg0, GraphicsConfiguration arg1) {
super(arg0, arg1);
// TODO Auto-generated constructor stub
initialize();
}

/**
* This method initializes this
*
* @return void
*/
private void initialize() {
this.setSize(300, 200);
this.setTitle("Frame");
}

}
Previous Topic:Added JTable to JFrame... now can't add other components
Next Topic:A specific JRE version for projects?
Goto Forum:
  


Current Time: Wed Oct 22 00:11:16 GMT 2014

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

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