Hi:
I'm a newbie to SWing designer, so this may be obvious to all of you, but I cannot see how to set the code required to set the text for the widget.. Everything that I enter in the text box ends up as a quoted string and I want to know how to enter an expression. I can enter the code myself in Source view - for example,the designer gave me this:
targetDB = new JTextField();
targetDB.setHorizontalAlignment(SwingConstants.LEFT);
targetDB.setText("ParserMainWin.settingsInstance.getTSrv()");
m_contentPanel.add(targetDB, "6, 8, fill, default");
targetDB.setColumns(10);
Whic I then edited to what I want, namely:
targetDB = new JTextField();
targetDB.setHorizontalAlignment(SwingConstants.LEFT);
targetDB.setText(ParserMainWin.settingsInstance.getTSrv());
..
How can I get this without going into source view?
Thanks
Paul McKee