• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Mac Error _initWithWindowNumber

 
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
2004-07-02 21:06:13.649 java[806] _initWithWindowNumber: error creating graphics
ctxt object for ctxt:46855, window:10790

Hi,

The above is an error I sometimes get when I start up my Sun Developer application.
The error message appears sporatically.

I have Mac G4, Mac OS X 10.3.4, JRE version 1.4.2.

When you all are working on Mac Java projects and you have to run an application
a lot (from the command line), do you on occasion see this same or similar error?

Thanks,
Javini Javono
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Same environment. Never seen this error.
 
Javini Javono
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Thanks for your response.

I forgot to add one, small point. When, sporatically, the
error is printed to the terminal window, the application still runs
as it normally would.

Thanks,
Javini Javono
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was having the same error on a nearly identical system, so I tried using a try{} block when I added content to the top frame.

try
{
this.add(headerPanel, BorderLayout.NORTH);
this.add(contentPanel, BorderLayout.CENTER);
}
catch(Exception e)
{
System.out.println("Could not display window.");
}

I've had no error messages since, and it never caught any exceptions, so perhaps the nasty error was Java's way of complaining that it was forced to display something that MAY not work in all situations. Dumb Java.

 
reply
    Bookmark Topic Watch Topic
  • New Topic