Swing GUI hangs on Mac OS


 
Thread Tools Search this Thread
Top Forums Programming Swing GUI hangs on Mac OS
# 1  
Old 01-21-2011
Swing GUI hangs on Mac OS

Hi All,

I have created a simple swing application, that has 3 textfields, and 2 buttons. When I try to run the code, following error comes and GUI hangs.
Code:
2011-01-21 22:32:39.905 java[7911:a07] [Java CocoaComponent compatibility mode]: Enabled
2011-01-21 22:32:39.908 java[7911:a07] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
2011-01-21 22:32:40.589 java[7911:a07] *** __NSAutoreleaseNoPool(): Object 0x123de0 of class __NSCFDate autoreleased with no pool in place - just leaking
2011-01-21 22:32:40.590 java[7911:a07] *** __NSAutoreleaseNoPool(): Object 0x155de0 of class NSCFTimer autoreleased with no pool in place - just leaking

I have googled through above error message and got to know that if I provide"-XstartOnFirstThread" as a VM argument then everything will work fine. But noting is fruitful in my case.

Please help me out since its too urgent.


Regards,
max
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Programming

Python gui or C++ gui or java gui?

python gui or c++ gui or java gui? and when to use etch one? (1 Reply)
Discussion started by: kaja
1 Replies

2. Programming

Java Swing

Hi All, I am new to java swing. I want to develop a electronic schematic editor in java swing. An schematic editor is one where you can put all electronic components and join them to make a circuit. Its like drawing your circuit on paper. Here the paper would be like graph paper or grid which... (1 Reply)
Discussion started by: diehard
1 Replies

3. Shell Programming and Scripting

GUI Shell Script Mac OS X - Working Directory

Hi. I'm pretty new to shell scripting. All I want to do is have a simple shell script that opens a python script from the GUI i.e. when I double click the shell script it will launch the python file. However when I try to do this it looks for the python file in my home directory, I have tried... (1 Reply)
Discussion started by: whatg
1 Replies

4. Programming

Swing and Unix

We use a Unix terminal emulator like xterm at work to connect to our Unix machines from our PCs. I need to set up an interactive form that can display form elements (like toggle, radio, buttons, drop-down lists, etc). I thought it'd be a simple thing to use Java's Swing classes to help with this,... (11 Replies)
Discussion started by: nwboy74
11 Replies

5. UNIX for Dummies Questions & Answers

If a is windows gui ( client), b is a unix gui ( Server for a) and c is a shell scrip

Hello all, 1) I want to have a GUI application that will call Unix shell scripts, 2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix. That is for example. If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies

6. OS X (Apple)

Deleting from Mac on GUI?

On the Mac, if you delete a file from the GUI, it actually gets moved to a .Trashes folder in your home directory. However, if you rm a file from the terminal application (command line), it is gone for good immediately like in other unix implementations. I would like to see Apple make this... (1 Reply)
Discussion started by: wmosley2
1 Replies
Login or Register to Ask a Question
GUI 
API(3m17n) The m17n Library GUI API(3m17n) NAME
GUI_API - API provided by libm17n-gui.so. Modules Frame A frame is an object corresponding to the graphic device. Font Font object. Fontset A fontset is an object that maps a character to fonts. Face A face is an object to control appearance of M-text. Drawing Drawing M-texts on a window. Input Method (GUI) Input method support on window systems. Detailed Description API provided by libm17n-gui.so. GUI support for a window system. This section defines the m17n GUI API concerning M-text drawing and inputting under a window system. All the definitions here are independent of window systems. An actual library file, however, can depend on a specific window system. For instance, the library file m17n-X.so is an example of implementation of the m17n GUI API for the X Window System. Actually the GUI API is mainly for toolkit libraries or to implement XOM, not for direct use from application programs. Author Generated automatically by Doxygen for The m17n Library from the source code. COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA) Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST) Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>. Version 1.6.2 12 Jan 2011 GUI API(3m17n)