Re: JOptionpane dialog windows

2009-04-13 Thread Vladimir Zavada
Yes, I was talking about javax.swing.JOptionPane. Could you explain it to more detail, why I can not use javax.swing.JOptionPane in my wicket app? I am using it right now and it works fine. Is it because, it depends of JRE of end user or is it something else? Vlado Martin Voigt wrote /

Re: JOptionpane dialog windows

2009-04-13 Thread Vladimir Zavada
I tested it on two computers and it really does not work. I have a delete button with confirmation dialog javax.swing.JOptionPane.showConfirmDialog. So I started my application on laptop no1 where Glassfish v3 server is running and then I started it on laptop no2 where I clicked on the delete

Re: JOptionpane dialog windows

2009-04-13 Thread Martin Makundi
to my surprise the confirmation dialog did not show on laptop no2 Really? Surprise? If it did work, why on earth would you be developing HTML applications. You could just send swing apps via browsers... ... maybe in the future. Or via a remote desktop. ** Martin

Re: JOptionpane dialog windows

2009-04-13 Thread Jeremy Thomerson
Because swing is a desktop programming framework. It is not used in web applications. It is not used in Wicket applications. It only knows how to open windows using the computer's windowing system - the computer that it is on. It does not know how to generate HTML or know anything about HTTP.

Re: JOptionpane dialog windows

2009-04-12 Thread Martin Voigt
I'm not sure if I understand this right, are you talking about javax.swing.JOptionPane? While wicket shares some concepts with swing and maybe the TreeModel classes, it has nothing to do with swing except both are loosely based on the same principles, event driven etc. So no, you cannot use swing

JOptionpane dialog windows

2009-04-11 Thread Vladimir Zavada
I have a question about using JOptionPane dialogs in my wicket application. Is it safe to use them? Is it better to use javascript alert or JOptionPane dialog? thx for your opinion - To unsubscribe, e-mail: