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 1862 Details for
Bug 22576
StyledText does not accept German characters in GTK
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Text test file
MultipleTextTest.java (text/plain), 1.25 KB, created by
Tod Creasey
on 2002-08-20 11:04:13 EDT
(
hide
)
Description:
Text test file
Filename:
MIME Type:
Creator:
Tod Creasey
Created:
2002-08-20 11:04:13 EDT
Size:
1.25 KB
patch
obsolete
>import org.eclipse.swt.SWT; >import org.eclipse.swt.custom.StyledText; >import org.eclipse.swt.layout.GridData; >import org.eclipse.swt.layout.GridLayout; >import org.eclipse.swt.widgets.*; > >/** > * @author Tod > * > * To change this generated comment edit the template variable "typecomment": > * Window>Preferences>Java>Templates. > */ >public class MultipleTextTest { > > public static void main(String[] args) { > > Display display = new Display (); > Shell shell = new Shell (display); > > Composite basicInfoComposite = new Composite(shell, SWT.BORDER); > GridLayout layout = new GridLayout(); > basicInfoComposite.setLayout(layout); > GridData data = new GridData(GridData.FILL_BOTH); > data.grabExcessHorizontalSpace = true; > basicInfoComposite.setLayoutData(data); > > // path value label > Text pathValueText = new Text(basicInfoComposite, SWT.WRAP | SWT.MULTI); > > StyledText styled = new StyledText(basicInfoComposite,SWT.MULTI); > GridData styledData = new GridData(); > styledData.widthHint = 200; > styledData.heightHint = 200; > styled.setLayoutData(styledData); > > basicInfoComposite.setVisible(true); > basicInfoComposite.pack(true); > > shell.setSize (400,400); > > shell.open (); > while (!shell.isDisposed ()) { > if (!display.readAndDispatch ()) display.sleep (); > } > display.dispose (); > > } >}
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 22576
: 1862