Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Layout problem
Layout problem [message #99140] Fri, 02 September 2005 15:42
Frank J. Cauley is currently offline Frank J. CauleyFriend
Messages: 4
Registered: July 2009
Junior Member
I copied the following from an Eclipse tutorial:
Display display = new Display ();
Shell shell = new Shell(display);
FormLayout layout = new FormLayout();
layout.marginWidth = 3;
layout.marginHeight = 3;
shell.setLayout(layout);

I am now getting the following error message on marginWidth and
marginHeight
Syntax error on token "marginWidth", VariableDeclaratorId expected after
this token



What am I missing?
Previous Topic:tag libries
Next Topic:Eclipse v3.1 on Mac OS/X
Goto Forum:
  


Current Time: Wed Jan 15 08:23:11 GMT 2025

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

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

Back to the top