Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Eclipse Forms and Nebula
Eclipse Forms and Nebula [message #590393] Tue, 10 June 2008 17:40
Marcelo Alcantara is currently offline Marcelo AlcantaraFriend
Messages: 48
Registered: July 2009
Member
Hi,

I am trying to use the FormattedText with Eclipse Forms.

My code to render the text field look like this:

text_4 = toolkit.createText(body, null, SWT.BORDER);
text_4.setBounds(427, 58, 92, 21);
FormattedText text10 = new FormattedText(text_4);
NumberFormatter formatter = new NumberFormatter();
formatter.setFixedLengths(false, true);
text10.setFormatter(formatter);
text10.setValue(new Double(123.4));

It shows the text field, but no formatting is being shown. Neither the
default value appears.

Somebody can give me some help on this?

I searched the net and this forum, but could not find anything related
to this issue.

Thanks in advance.

Marcelo
Previous Topic:Eclipse Forms and Nebula
Next Topic:What's with Nebula?
Goto Forum:
  


Current Time: Fri Apr 19 13:20:33 GMT 2024

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

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

Back to the top