jWeatherWatch

View: New views
3 Messages — Rating Filter:   Alert me  

jWeatherWatch

by Patrick von Reth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I'm developing the jWeatherWatch watch in my free time and a view weeks ago I discovered java-gnome which supports an easy way to use libnotify.
I know mixing swing&awt  with java-gnome is not official supported but it works almost great.
After I solved a Gthread error when I initialized java-gnome after a TrayIcon notification the only unsolved issue is 

"The program 'jWeatherWatch' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 2493 error_code 8 request_code 146 minor_code 4)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)".

It always appears in the settings dialog, clicking on "OK", "Apply", or switching to the "MinimalView" tab. Is this a bug or just a incompatibility of java-gnome and swing/awt?




Greetings

Patrick von Reth



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer

Re: jWeatherWatch

by Patrick von Reth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just runned my application on my laptop and everything worked fine. The laptop is running with Kubuntu karmic x86 my desktop pc is running Kubuntu karmic x64 the installed java-gnome package is the one from the repository.
So maybe its a bug in the x64 build of java-gnome?



Greetings

Patrick von Reth

2009/10/31 Patrick von Reth <patrick@...>
Hi,
I'm developing the jWeatherWatch watch in my free time and a view weeks ago I discovered java-gnome which supports an easy way to use libnotify.
I know mixing swing&awt  with java-gnome is not official supported but it works almost great.
After I solved a Gthread error when I initialized java-gnome after a TrayIcon notification the only unsolved issue is 

"The program 'jWeatherWatch' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 2493 error_code 8 request_code 146 minor_code 4)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)".

It always appears in the settings dialog, clicking on "OK", "Apply", or switching to the "MinimalView" tab. Is this a bug or just a incompatibility of java-gnome and swing/awt?




Greetings

Patrick von Reth




------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer

Re: jWeatherWatch

by Andrew Cowie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-10-31 at 15:19 +0100, Patrick von Reth wrote:

> I know mixing swing&awt  with java-gnome is supported

That's right. You can't have two different toolkits both trying to drive
GTK.

If you use java-gnome to write your UI in GTK, then you won't have any
problems. Then you can use our libnotify package.

AfC
Sydney




------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer

signature.asc (204 bytes) Download Attachment