[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[platform-swt-dev] URGENT - PROBLEMS WITH SWT.JAR AND CASIO PDA DT-X10M30E AND DT-X10M10E
|
- From: "Fran Parras" <fran.parras@xxxxxxxxx>
- Date: Mon, 22 Oct 2007 22:39:06 +0200
- Delivered-to: platform-swt-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=7w0OH8aZxn4I3HdevHbBvT6b1T+BzjdcH3GAauWaLQM=; b=hIWzwhC7eTl3hPhWUxKaod4enOl5EKqhbF2C0Zv7Qt5DeTHlM66ljZ5oTQZYZM3BBA7DtOvCaRSJWOkYAIurCKyaAFYLnPcoWMY9Yr7CFjMw5c86Rzdqew9Y9OVdA5Q0yq8oOqyq4vBNg1VoMD+TsOvzuUMCt4sTf84kTCa0Ucs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=JnmCFryBLZgGjw24Wfrc3Euyq04weiV5g8zUZoFYi0ErnBTcllbQ9Pj+FaDhNdFcDSwGCGDTFhceIDn01GdHa9bxKkrsuwAQjOxiWEjSAzaY4CpzaGSnjwfRL2mDGG/Yuhhdq8y+GbfI434NbvpXBJZ63bNCikM4aXTIMLIVIck=
Hi friends,
we have an special problems trying to load the Display class content on swt.jar on Industrial pocket devices, our models with problems are CASIO DT-X10M10E and CASIO DT-X10M30E (the same device in USA is CASIO DT-X10M30U).
You will find our examplo code below, is very simple but the application don't create an exception to know the real problem. (in yellow the line error)
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text
;
import nuevosar.capatrasversal.excepciones.SarGestorConexionesException;
import nuevosar.capatrasversal.trazas.CM_Logger;
public class IU_MenuPrincipal {
public IU_MenuPrincipal(CM_Logger logger) throws SarGestorConexionesException{
final Display display = new Display();
_logger.pintarTraza("Despues del Display");
final Shell shell = new Shell(display);
Fuentes fuente = new Fuentes(display);
Text textNave = new Text(shell, 4);
textNave.setVisible(false);
FormLayout layout = new FormLayout();
layout.spacing = 5;
layout.marginHeight = layout.marginWidth = 9;
shell.setLayout(layout);
FormData textDataNave = new FormData();
textDataNave.top = new FormAttachment(0);
textDataNave.left
= new FormAttachment(20);
textDataNave.right = new FormAttachment(80);
textDataNave.height = 5;
textNave.setLayoutData(textDataNave);
shell.setFont(fuente.getFuenteNormal());
shell.setMaximized(false);
shell.setMinimized(false);
shell.setText(Multidioma._GN_SAR);
shell.open
();
while(!shell.isDisposed())
if(!display.readAndDispatch())
display.sleep();
display.dispose();
}
Lib version: swt.jar ver: 3.0.2
Dll released: swt-win32-3064.dll
Maybe to resolve the problem we need to compile a Custom SWT library, any people has information regarding the process?
Thanks in advanced,
Fran Parras