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 3998 Details for
Bug 34658
Save All failed with unhelpful error message.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
File which caused the exception.
TextMangler.java (text/plain), 1.50 KB, created by
Mike Wilson
on 2003-03-11 12:10:44 EST
(
hide
)
Description:
File which caused the exception.
Filename:
MIME Type:
Creator:
Mike Wilson
Created:
2003-03-11 12:10:44 EST
Size:
1.50 KB
patch
obsolete
>import org.eclipse.swt.SWT; >import org.eclipse.swt.events.SelectionEvent; >import org.eclipse.swt.events.SelectionListener; >import org.eclipse.swt.layout.RowLayout; >import org.eclipse.swt.widgets.Button; >import org.eclipse.swt.widgets.Display; >import org.eclipse.swt.widgets.Shell; >import org.eclipse.swt.widgets.Text; > >/* > * Created on Mar 7, 2003 > * > * To change this generated comment go to > * Window>Preferences>Java>Code Generation>Code and Comments > */ >now is the time for all good men >/** > * @author mcq > * > * To change this generated comment go to > * Window>Preferences>Java>Code Generation>Code and Comments > */ >public class TextManglerUI { > > Display display; > Shell shell; > > Text sourceText; > Text destText; > Button removeLFButton; > Button addLFafterCRButton; > Button indentNewParaButton; > Button newParaEQ1Button; > Button newParaEQ2Button; > Button go; > > Button b; > int counter; > >public static void main (String[] args) { > new TextManglerUI().open(); >} > >/** > * > */ >private void open() { > display = new Display(); > shell = new Shell(display, SWT.SHELL_TRIM); > b = new Button(shell, SWT.PUSH); > go.addSelectionListener( new SelectionListener() { > public void widgetSelected(SelectionEvent e) { > counter += 1; > go.setText("Count = " + counter); > } > public void widgetDefaultSelected(SelectionEvent e) { > } > }); > go.setText("Push me to start counting."); > shell.setLayout(new RowLayout(SWT.VERTICAL)); > shell.open(); > while (!shell.isDisposed()) { > if (!display.readAndDispatch()) > display.sleep(); > } > >} > >}
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 34658
: 3998 |
4093