Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover2004-05-18 21:07:05 +0000
committerSteve Northover2004-05-18 21:07:05 +0000
commit50b994c27e0f13a279e8a6306fd93079959afb1a (patch)
tree1f3f6793f3c28062cff80fbf912de3e898f61eda /examples
parenta29ead267e20209d48db539a375ce453914d2d9b (diff)
downloadeclipse.platform.swt-50b994c27e0f13a279e8a6306fd93079959afb1a.tar.gz
eclipse.platform.swt-50b994c27e0f13a279e8a6306fd93079959afb1a.tar.xz
eclipse.platform.swt-50b994c27e0f13a279e8a6306fd93079959afb1a.zip
*** empty log message ***
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CTabFolderTab.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CTabFolderTab.java b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CTabFolderTab.java
index 851fe24c3c..73f5a0539a 100644
--- a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CTabFolderTab.java
+++ b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CTabFolderTab.java
@@ -145,9 +145,9 @@ class CTabFolderTab extends Tab {
for (int i = 0; i < CTabItems1.length; i++) {
CTabItem item = new CTabItem(tabFolder1, SWT.NONE);
item.setText(CTabItems1[i]);
- Label label = new Label(tabFolder1, SWT.NONE);
- label.setText(ControlExample.getResourceString("CTabItem_content") + ": " + i);
- item.setControl(label);
+ Text text = new Text(tabFolder1, SWT.NONE);
+ text.setText(ControlExample.getResourceString("CTabItem_content") + ": " + i);
+ item.setControl(text);
}
tabFolder1.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event event) {

Back to the top