Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Mac Error _initWithWindowNumber

 
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • 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
 
Marshal
Posts: 67289
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Same environment. Never seen this error.
 
Javini Javono
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • 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
  • 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.

 
BWA HA HA HA HA HA HA! Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!