About: 13900 results

Text: setText(String value) : Text « org.eclipse.swt.widgets « Java by ...
http://www.java2s.com/Code/JavaAPI/org.eclipse.swt ...
Text: setText(String value) : Text « org.eclipse.swt.widgets « Java by API.
Label: setText(String text) : Label « org.eclipse.swt.widgets « Java ...
http://www.java2s.com/Code/JavaAPI/org.eclipse.swt ...
Label: setText(String text) : Label « org.eclipse.swt.widgets « Java by API.
Button: setText(String text) : Button « org.eclipse.swt.widgets « Java ...
http://www.java2s.com/Code/JavaAPI/org.eclipse.swt ...
Button: setText(String text) : Button « org.eclipse.swt.widgets « Java by API.
Label cut off when changing text using SWT - Stack Overflow
https://stackoverflow.com/questions/40681519/label ...
I am using a Label to display the path, and the only method I'm using in the listener regarding the Laebl is the setText() method. Is there a way to not have this happen? I am using SWT and prefer to maintain the grid layout so I can have the 2 ...
How to refresh SWT label? - Stack Overflow
https://stackoverflow.com/questions/32649064/how-t ...
Calling layout() on the parent seems to work just fine here: public static void main (String[] args) { final Display display = new Display(); final Shell shell = new Shell( display); shell.setText("StackOverflow"); shell.setLayout(new ...
Modify a Text inside a composite in Java SWT - Stack Overflow
https://stackoverflow.com/questions/51872158/modif ...
setText(ARGUMENT_VALUE_COLUMN, text.getText()); } });. thats the solution.. I wanted ...
Styled Text setText have bad perfomance - Stack Overflow
https://stackoverflow.com/questions/18762265/style ...
The only optimisation you can implement is putting your setText() in a Job or in a Runnable to not block the UI. Other than that, it's an API limitation from SWT. Other suggestions: File a bug/feature request; Search for a StyledText , although  ...
Get text of SWT Text component before modification - Stack Overflow
https://stackoverflow.com/questions/32872249/get-t ...
Text myText = new Text(parent, SWT.NONE); myText.setText("initial text"); myText . ... Listen for SWT.Verify instead of SWT.Modify : Text text = new Text(shell, SWT. BORDER); text.addListener(SWT.Verify, new Listener() ...
changing label text in java swt - Stack Overflow
https://stackoverflow.com/questions/22350728/chang ...
PUSH); button.setText("Print"); final Label finalLabel = new Label(shell, SWT. NONE); button.addListener(SWT.Selection, new Listener(){ @Override public void handleEvent(Event e) { fieldLabel.setText("TEXT"); finalLabel.
Getting Your Feet Wet with the SWT StyledText Widget - Eclipse
https://www.eclipse.org/articles/StyledText 1/arti ...
The following is a simple example that shows how to create a StyledText widget and set text. This example ... getDisplay(); // create the styled text widget StyledText widget = new StyledText(shell, SWT. ... setText("This is the StyledText widget.