You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Bruno Rodrigues <br...@gmail.com> on 2012/07/05 13:30:11 UTC
different behavior between different machines
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!
Re: different behavior between different machines
Posted by Bruno Rodrigues <br...@gmail.com>.
problem solve. I changed my jre to a 32bits release and its ok!
thank you sandro
2012/7/6 Sandro Martini <sa...@gmail.com>
> Hi, what are environment details of those machines (os, jvm, and browser
> type/version in case of applets) ?
>
> Bye
> Il giorno 05/lug/2012 13:31, "Bruno Rodrigues" <br...@gmail.com> ha
> scritto:
>
> 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!
>>
>
Re: different behavior between different machines
Posted by Sandro Martini <sa...@gmail.com>.
Hi, what are environment details of those machines (os, jvm, and browser
type/version in case of applets) ?
Bye
Il giorno 05/lug/2012 13:31, "Bruno Rodrigues" <br...@gmail.com> ha
scritto:
> 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!
>