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
excustom(3alleg4)						  Allegro manual						 excustom(3alleg4)

NAME
excustom - Creating custom GUI objects. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example excustom DESCRIPTION
A follow up of the exgui.c example showing how to customise the default Allegro framework. In this case a dialog procedure animates a graphical clock without disrupting other GUI dialogs. A more simple option shows how to dynamically change the font used by all GUI ele- ments. SEE ALSO
BITMAP(3alleg4), DATAFILE(3alleg4), DIALOG(3alleg4), END_OF_MAIN(3alleg4), FONT(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4), circle(3alleg4), circlefill(3alleg4), clear_to_color(3alleg4), create_bitmap(3alleg4), d_but- ton_proc(3alleg4), d_check_proc(3alleg4), d_clear_proc(3alleg4), d_edit_proc(3alleg4), desktop_palette(3alleg4), destroy_bitmap(3alleg4), do_dialog(3alleg4), fixcos(3alleg4), fixed(3alleg4), fixmul(3alleg4), fixsin(3alleg4), fixtoi(3alleg4), font(3alleg4), install_key- board(3alleg4), install_mouse(3alleg4), install_timer(3alleg4), itofix(3alleg4), key(3alleg4), line(3alleg4), load_datafile(3alleg4), makecol(3alleg4), object_message(3alleg4), replace_filename(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), unload_datafile(3alleg4) Allegro version 4.4.2 excustom(3alleg4)