Reply
Thread Tools
jaeezzy's Avatar
Posts: 664 | Thanked: 160 times | Joined on Jul 2008 @ Australia
#1
Hi,
I'm a newbie with IT just bought for around a month. I was so excited when I heard that I can embed java code in IT with jalimo as I'm a big fan and love to code in java. So, to start with, I wrote a small GUI program. Everything is fine except that I get the following warning while executing:
================================================== =
/media/mmc1/Applications/SimpleCalculator $ cacao -cp /usr/share/java/swt-gtk.jar:. SimpleCalculator

cacao[2543]: GLIB WARNING ** Gtk - gtk_widget_size_allocate(): attempt to allocate widget with width -24 and height 0

cacao[2543]: GLIB WARNING ** Gtk - gtk_widget_size_allocate(): attempt to allocate widget with width -24 and height 0

cacao[2543]: GLIB WARNING ** Gtk - gtk_widget_size_allocate(): attempt to allocate widget with width -24 and height 0

cacao[2543]: GLIB WARNING ** Gtk - gtk_widget_size_allocate(): attempt to allocate widget with width -47 and height 0

/media/mmc1/Applications/SimpleCalculator $
================================================== =

Also, the gui first comes up only covering small area at the top left of my IT and then expands to fill the whole display area. If needed, I can provide the code I've used to allocate buttons in the application. Thanks.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:38.