pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Rodrigues <brun...@gmail.com>
Subject different behavior between different machines
Date Thu, 05 Jul 2012 11:30:11 GMT
I develop an application using pivot, and it works fine in some machines.
in the other hand, the codes doesnt works good in some machines.
this line stays blocked even if I press 'ok' option.

int option = showMessage(MessageType.QUESTION, "Remove Report", "Are you
sure?", options);


where:

public int showMessage(MessageType type, String title, String message,
ArrayList<String> options){

        Alert alert = new Alert(type, message, options, null);
        alert.setTitle(title);
        alert.open(window);

        while(!alert.getResult()){}

        return alert.getSelectedOptionIndex();
    }







any idea?

thanks a lot!

Mime
View raw message