Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Result: 1073807364- Printed as Output when setting internal frame visible  RSS feed

 
Mohamed Sanaulla
Bartender
Posts: 3179
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i set a internal frame to visible i get Java Result: 1073807364 as the output. The systems hangs and will have to terminate the execution abruptly. What does this output stand for?
[ October 19, 2008: Message edited by: mohammed sanaullah ]
 
Campbell Ritchie
Marshal
Posts: 55793
164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know. What code are you using to set in visible? Please tell us.

It would be helpful to add something like "when setting internal frame visible" to the thread title, please. I think this would sit better on the Swing forum, so am moving it.
 
Mohamed Sanaulla
Bartender
Posts: 3179
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The program was working fine with all the internal frames being set visible and invisible. But then all of a sudden after a minor change when i navigate to one particular frame i get this output: Java Result: 1073807364 and then the program becomes non responsive. The frame has a JComboBox which is updated with a String array as soon as the frame is set visible. Wanted to know what Java Result: 1073807364 stands for?

I am using:
 
Mohamed Sanaulla
Bartender
Posts: 3179
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Initially it was working fine with the Swing Default Look and Feel. I am getting The above said error only after i changed to Windows Look and feel. Will this affect in any way?
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by mohammed sanaullah:.. after a minor change when


From the information you have provided, it looks like your minor change is affecting something else.
You can try the following:
1) Revert back the change and confirm everything is working fine like it was before.
2) Looks like your application is entering some time consuming loop. Do you immediately terminate the application when the application hangs? You might want to wait for some more time to see if you get some out of memory or time out or other messages. This might help you pinpoint the faulty code.

I googled around a bit. Looks like the "Java Result:" syntax is generated by NetBeans. Are you using NetBeans?
 
Campbell Ritchie
Marshal
Posts: 55793
164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And congratulations on the new handle, Maneesh.
 
Campbell Ritchie
Marshal
Posts: 55793
164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Result from NetBeans appears to be something like a return value from System.exit() or some sort of analogue in the JVM.
A bit like the C main() method which has an int return type and returns 0 for normal completion.
It is a lot easier if you Tell The Details.
 
Mohamed Sanaulla
Bartender
Posts: 3179
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly- I am using NetBeans. Will try doing what you have told. Thanks. Will get back if i find the same problem.

What does that Error stand for?
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Campbell Ritchie:
And congratulations on the new handle, Maneesh.


Thank you Campbell
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!