Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » [OSX] maybe thread problem
[OSX] maybe thread problem [message #50078] Mon, 24 March 2003 21:49
Frank Radermacher is currently offline Frank RadermacherFriend
Messages: 33
Registered: July 2009
Member
Hi,

I had problems to launch an application on OSX. I've got a series of
problems that I came around with, but I have now one I can't understand.

The minimal program that shows the behaviour is at the end of this post.

I start the program in the MAC terminal from the directory containing
swt.jar swt-carbon... and f.jar with the following command

java -cp ./mac/swt.jar:./f.jar T.tMac_3

the result is a "dead" window with only the upper three red,yellow,green
buttons "living".

The same happens when I start the eclipse sample programs from outside
eclipse. The same proceeding works on w2k.

What am I missing?

Frank

P.S. code
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++
package T;
import org.eclipse.swt.widgets.*;

public class tMac_3 {
public static void main (String [] args) throws IOException {

Display display = new Display ();
Shell shell = new Shell (display);
shell.open ();

while (!shell.isDisposed ()) {
if (!display.readAndDispatch ()) display.sleep();
}
display.dispose ();
}
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++
Previous Topic:<Strg>+<Space> doesn't work
Next Topic:[OSX] maybe thread problem
Goto Forum:
  


Current Time: Wed Apr 24 20:00:02 GMT 2024

Powered by FUDForum. Page generated in 0.23857 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top