Common Pop -UP Mesage , Java Swing and ZkWebui applications?

asked 2009-10-08 12:11:08 +0800

waliahimanshu gravatar image waliahimanshu
36 2

I am Using JOption Pane / Adialog To Display Pop-Messages (Errors /Warnings ) in My Business Logic .
Since i am using same Business Logic for my both Swing Application and ZK WEBUI Appliocation .

If i use Message Box(ZK Component) in My Swing Class , this Will Create Problem While Building My whole Application .

i want some common way to Pop-Messages(errors/warning) which will work for both applications.

like for example

{code }
if (any Condition is true )
JOptionPane.showMessageDialog("Due PrePaid Amount "etPREPAIDGRANDTOTAL()");
{code }
This Business Logic Is getting called In Both Java Swing and ZK Webui , But message is not coming in ZK WEBUI(Offcourse).
and Message BOX is not working for me :-(

Is there any way To pop-UP message in Both API'S ?

Suggest :-)
With Regards
Himanshu Walia :-)
Looking for your Valuable Replies .???

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-11-07 02:14:25 +0800

samchuang gravatar image samchuang
4084 4

Hi ~

you could refer this Advanced Integration Of ZK And Applets

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




Asked: 2009-10-08 12:11:08 +0800

Seen: 495 times

Last updated: Nov 07 '09