Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » IWAV0125E too complicated to be evaluated
IWAV0125E too complicated to be evaluated [message #88186] Fri, 22 April 2005 12:32 Go to next message
Eclipse UserFriend
Originally posted by: Steffen.Hoffmann.berata.com

Hi,

we want to display the values of a propertie File in the visual Editor.
However we get the error "
IWAV0125E user is too complicated to be evaluated"

The important Code looks loke this

String user= Resource.getString("user");
jLabel.setText(user);

is there a way to show the value of the propertie within VE ?

the complete code of the method is below:

private javax.swing.JPanel getJContentPane() {
if(jContentPane == null) {
FlowLayout flowLayout1 = new FlowLayout();
jContentPane = new javax.swing.JPanel();
jLabel = new JLabel();
jLabel.setName("jLabel");
String user= Resource.getString("user");
jLabel.setText(user);
jLabel.setPreferredSize(new java.awt.Dimension(65,16));
jLabel1 = new JLabel();
jContentPane.setLayout(flowLayout1);
jLabel1.setName("jLabel1");
jLabel1.setText("Passwort");
jLabel1.setPreferredSize(new java.awt.Dimension(65,16));
flowLayout1.setAlignment(java.awt.FlowLayout.LEFT);
flowLayout1.setHgap(20);
flowLayout1.setVgap(20);
jContentPane.add(jLabel, null);
jContentPane.add(getBenutzerFeld(), null);
jContentPane.add(jLabel1, null);
jContentPane.add(getPasswortFeld(), null);
jContentPane.add(getJButton(), null);
jContentPane.add(getJButton1(), null);
this.getRootPane().setDefaultButton(getJButton());
}
return jContentPane;
}


Thanks in advance !
Re: IWAV0125E too complicated to be evaluated [message #88247 is a reply to message #88186] Fri, 22 April 2005 14:05 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

At the moment we have a problem with String being a variable. So replace
the setText with

jLabel.setText(Resource.getString("user"));



--
Thanks,
Rich Kulp
Re: IWAV0125E too complicated to be evaluated [message #607219 is a reply to message #88186] Fri, 22 April 2005 14:05 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

At the moment we have a problem with String being a variable. So replace
the setText with

jLabel.setText(Resource.getString("user"));



--
Thanks,
Rich Kulp
Previous Topic:Status of VE and 3.1M6
Next Topic:New VE user would appreciate advice as I am having trouble with working with JPanels in JPanels in a
Goto Forum:
  


Current Time: Thu Apr 18 05:05:17 GMT 2024

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

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

Back to the top