Showing posts with label swt. Show all posts
Showing posts with label swt. Show all posts

Tuesday, November 8, 2011

Cannot load 32-bit SWT libraries on 64-bit JVM

This usually is happened when launching a 32-bit SWT application on MacOS. The solution lives on the SWT official FAQs
You need to be sure that you are forcing your launch to use a 32-bit VM. Apple ships most of their VMs with 32 and 64-bit binaries. To force the VM to run in 32-bit mode, use the -d32 option as VM argument in your launch configuration. Note that as of Snow Leopard (OS X v10.6) the default VM is 64-bit.

Monday, May 18, 2009

Scientific poster creation.

We have just launch videos that demonstrate the creation of scientific poster using PosterGenius and some software highlights.

Creating a scientific poster

See how easy is to create a scientific poster in few minutes.



Poster optimizer
"Fit" your content into your scientific poster area in on click



Professionally designed templates


Format your scientific poster with the 100+ professionally designed templates




More videos are available at PosterGenius YouTube channel http://www.youtube.com/user/postergenius

Friday, May 15, 2009

PosteGenius project

For the last 26 months i was working with a great team on PosterGenius Project.

PosterGenius is a desktop application specifically designed for the creation of scientific posters.


PosterGenius is an Eclipse RCP application that make use of EMF, SWT, XML, XSLT, Apache FO, Nebula Widgets. Nebula CollapsibleButtons are main part of applications GUI. Nebula Gallery control is used in many location.

PosterGenius was officially released at May 8 with the moto

"Scientific posters revisited"


Free trial is available for download at postergenius.com

Screens



Videos

Video demos are available at youtube postergenius channel

Sunday, June 22, 2008

Gradient Background to any SWT Control

Helper class that add gradent bg to a give control

public class GradientHelper{

private static Image oldImage = null;

public static void applyGradientBG(
Composite composite) {
Rectangle rect = composite.getClientArea();
Image newImage = new Image(composite.getDisplay(), 1, Math.max(1,
rect.height));
GC gc = new GC(newImage);
gc
.setForeground(composite.getDisplay().getSystemColor(
SWT.COLOR_WHITE));
gc.setBackground(new Color(composite.getDisplay(), 228, 234, 243));
gc.fillGradientRectangle(0, 0, 1, rect.height, true);
gc.dispose();
composite.setBackgroundImage(newImage);

if (oldImage != null)
oldImage.dispose();
oldImage = newImage;
}
}


Examples

Adding background to a tree.

treeView.getTree().
addListener(SWT.Resize,new Listener() {
public void handleEvent(Event event) {
GradientHelper.applyGradientBG(rreeViewer.getTree());
}
});

Wednesday, June 11, 2008

Debuging UI using picaso


The goal of Picasso is to provide a utility to help UI debugging. Picasso does this by painting the workbench in a way to aid debugging.

Saturday, September 29, 2007

XSWT

XSWT is an XML-based page description language for SWT.

  • It can be found at http://www.sourceforge.net/projects/xswt
  • The update site is http://xswt.sourceforge.net/updates
  • Click XSWT Features for more information
for a screenshot visit xswt web site