0

Messagebox.show too slow

asked 2008-07-11 03:18:18 +0800

kykub gravatar image kykub
75 1

Hi all,

I use firefox 3 and KDE when Messagebox.show it slow.

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2008-07-11 04:38:43 +0800

dennis gravatar image dennis
3679 1 6
http://www.javaworld.com....

any example code?

link publish delete flag offensive edit

answered 2008-07-11 06:12:32 +0800

kykub gravatar image kykub
75 1

this code.
public void onChange()
{
try {
if(Messagebox.show("Do you want to change doc no", "doc no", Messagebox.YES | Messagebox.NO,Messagebox.QUESTION)==Messagebox.NO)
{

return ;
}
} catch (InterruptedException e) {
e.printStackTrace();
}



}

link publish delete flag offensive edit

answered 2008-07-11 06:49:10 +0800

pannekuche gravatar image pannekuche
42 1 1

I think its a rendering problem by firefox on unix-systems. On my home pc I also use Ubuntu and have some problems with different sites using popup-boxes with fading effects. Try to change the message-dialog with a "no fading" effect. But I don't know how to handle this with zk...

link publish delete flag offensive edit

answered 2008-07-11 08:42:21 +0800

kykub gravatar image kykub
75 1

updated 2008-07-11 08:43:25 +0800

Hi all,

i found this link


i added this one to zk.xml

<preference>
<name>org.zkoss.zul.Window.defaultActionOnShow</name>
<value></value>
</preference>


it working for me thank you.

link publish delete flag offensive edit

answered 2008-07-11 08:57:36 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

But in my ubuntu 8.04 with FF3 environment, it works very fast.

Which version do you use?

/Jumper

link publish delete flag offensive edit

answered 2008-07-11 09:57:15 +0800

kykub gravatar image kykub
75 1

I use Slackware 12.1 KDE FF3 :)

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-07-11 03:18:18 +0800

Seen: 256 times

Last updated: Jul 11 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More