Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 94505 Details for
Bug 225285
ReadOnly Empty ComboBoxes: reaction
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
SWT-Example
CheckBoxTester.java (text/plain), 922 bytes, created by
Martin Pulfer
on 2008-04-02 05:24:31 EDT
(
hide
)
Description:
SWT-Example
Filename:
MIME Type:
Creator:
Martin Pulfer
Created:
2008-04-02 05:24:31 EDT
Size:
922 bytes
patch
obsolete
>import org.eclipse.swt.SWT; >import org.eclipse.swt.layout.GridLayout; >import org.eclipse.swt.widgets.Combo; >import org.eclipse.swt.widgets.Display; >import org.eclipse.swt.widgets.Shell; > > >public class CheckBoxTester { > > /** > * @param args > */ > public static void main(String[] args) { > // TODO Auto-generated method stub > > new Start(); > > } > >} > >class Start { > > Shell s = new Shell(); > > public Start(){ > > GridLayout gl = new GridLayout(); > > Combo combo = new Combo(s, SWT.READ_ONLY); > Combo combo2 = new Combo(s, SWT.READ_ONLY); > > s.setText("CheckBox"); > s.setLayout(gl); > loadGUI (); > > } > > private static void waitungForClose(Shell shell){ > Display display = shell.getDisplay(); > while (!shell.isDisposed()) { > if (!display.readAndDispatch()) > display.sleep(); > } > } > > private void loadGUI(){ > s.open(); > waitungForClose(s); > } > > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 225285
: 94505