Categories
- Android (1)
- Dirk Fauth (34)
- Eclipse (91)
- Java (21)
- Lars Vogel (22)
- OSGi (23)
- Other (9)
- Papercut (3)
- Simon Scholz (2)
- Softskill Topics (2)
- vogella (5)
vogella tutorial rss feed
- Android user interface testing with Espresso - Tutorial
- Eclipse Preferences - Tutorial
- Eclipse Forms API - Tutorial
- Java concurrency (multi-threading) - Tutorial
- Java web development with Eclipse WTP - Tutorial
- Euclid's algorithm for the greatest common divisor in Java - Tutorial
- Shuffle an Array or a List - Algorithm in Java - Tutorial
- Determine Prime Number with the Sieve of Eratosthenes - Algorithm in Java - Tutorial
- Prime Factorization - Algorithm in Java - Tutorial
- Eclipse JDT - Abstract Syntax Tree (AST) and the Java Model - Tutorial
Home
Recommended
Twitter
-
Recent Posts
Tag Archives: SWT
SWT Style Bits – Bitwise Or and Bitwise And
Ever wondered how SWT Style bits work? It is actually very simple. The style bits are a multitud of 2 SWT.NONE = 0, // 00000000 binary SWT.MULTI = 2, // 00000010 binary SWT.SINGLE = 4; // 00000100 binary SWT.READ_ONLY = … Continue reading
Browser Tales – Java to JavaScript and vice versa with the SWT Browser Widget
The SWT Browser widget makes it very easy to run HTML and JavaScript within Eclipse. This widget encapsulates a browser (system dependent) into a SWT widget. The following screenshot is from the second example below. This example is based on … Continue reading
JavaScript in the SWT Browser widget
At the Eclipse Summit Europe I listened to a talk of Boris Bokowski about Eclipse and the Web. Among other things I learned that you can execute JavaScript directly on the SWT Browser Widget and I wanted to give a … Continue reading
SWT – Putting a file into the clipboard
I recently got the question how you can put a file into the system clipboard. SWT makes this trivial: [sourcecode language=”java”] package de.vogella.desktop.clipboard; import org.eclipse.swt.dnd.Clipboard; import org.eclipse.swt.dnd.FileTransfer; import org.eclipse.swt.dnd.Transfer; import org.eclipse.swt.widgets.Display; /** * Utility class for putting files into the … Continue reading