pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From V SANTOSH PAVAN RAJU Bs <pavanraju....@gmail.com>
Subject Alerts loosing Focus When using Context Menu Items
Date Wed, 29 Jan 2014 06:12:51 GMT

I am popping up one Alert message using Context Menu Items. Alert is coming
fine, But Once Alert message popped up, it is loosing its Focus. Can Any
help me in how to make sure Alert should not loose focus when they are
opened from Context Menu Items. Code that i have used for this
functionality is as follows:

Action.getNamedActions().put("openAction", new Action() {
            public void perform(Component source) {
                Alert.alert("Opening.", MyClass.this.getWindow());

Here MyClass is the Class Name in which iam using this code and this
MyClass extends BoxPane and "openAction" is a Menu.Item .

Thanks & Regards
B.S.V.S.Pavan Raju.
Skype: skype_pavan1

View raw message