Click here to Skip to main content
15,889,992 members
Home / Discussions / Java
   

Java

 
QuestionRe: making msn plugin using java Pin
Muhammad Adeel Zahid2-Sep-09 11:38
Muhammad Adeel Zahid2-Sep-09 11:38 
AnswerRe: making msn plugin using java Pin
42774802-Sep-09 17:51
42774802-Sep-09 17:51 
QuestionRe: making msn plugin using java [modified] Pin
Muhammad Adeel Zahid22-Oct-09 1:45
Muhammad Adeel Zahid22-Oct-09 1:45 
QuestionRe: making msn plugin using java [modified] Pin
Muhammad Adeel Zahid4-Nov-09 19:47
Muhammad Adeel Zahid4-Nov-09 19:47 
QuestionSlow performance of javax.swing.JOptionPane.showOptionDialog Pin
Pasan Eeriyagama26-Aug-09 15:22
Pasan Eeriyagama26-Aug-09 15:22 
AnswerRe: Slow performance of javax.swing.JOptionPane.showOptionDialog Pin
Nagy Vilmos26-Aug-09 22:03
professionalNagy Vilmos26-Aug-09 22:03 
GeneralRe: Slow performance of javax.swing.JOptionPane.showOptionDialog Pin
Pasan Eeriyagama27-Aug-09 1:36
Pasan Eeriyagama27-Aug-09 1:36 
GeneralRe: Slow performance of javax.swing.JOptionPane.showOptionDialog Pin
woo_378304-Jun-10 21:44
woo_378304-Jun-10 21:44 
I am having a very long delay with both the presentation of hte JOptionPane.showInputDialogue and when I click on the OK button, I get a 3-6 second delay.

Here is the code:

viewer.setStatus("Waiting on input");
String reason = JOptionPane.showInputDialog("Redaction Reason", "User");
if( reason != null && reason.length() > 0 )
{
viewer.setStatus("Analyzing");
..... do some analysis
}

Now, the status shows in the parent "viewer" and then a long wait ( sometimes )
until the option pane appears. Then a long wait while the components are painted, wait for the input field, wait for the OK button, and the Cancel button.

Enter input, then click OK. VERY LONG WAIT ( 3-6 seconds ) before panel hides and next statement is executed. No indication of problem. CPU useage very low.
Nothing else running to eat up cpu ( highest < 10% )

This seems to have appeared recently. Don't know if it was the upgrade in Java for Snow Leopard, or something I've done in the code, but I don't see why anything I've done that isn't eating up time would affect the time to appear or time to dissappear significantly.

Running on Mac OS X Snow Leopard 10.6.3
GeneralRe: Slow performance of javax.swing.JOptionPane.showOptionDialog Pin
woo_378304-Jun-10 21:49
woo_378304-Jun-10 21:49 
GeneralRe: Slow performance of javax.swing.JOptionPane.showOptionDialog Pin
woo_378304-Jun-10 21:51
woo_378304-Jun-10 21:51 
QuestionHelp! on concatenation Pin
hellboy_8326-Aug-09 10:53
hellboy_8326-Aug-09 10:53 
AnswerRe: Help! on concatenation Pin
David Skelly27-Aug-09 4:23
David Skelly27-Aug-09 4:23 
Questionmessenger using java Pin
Sedruol2k926-Aug-09 5:52
Sedruol2k926-Aug-09 5:52 
AnswerRe: messenger using java Pin
Nagy Vilmos26-Aug-09 5:58
professionalNagy Vilmos26-Aug-09 5:58 
AnswerRe: messenger using java Pin
Dave Kreskowiak26-Aug-09 6:17
mveDave Kreskowiak26-Aug-09 6:17 
QuestionInput field for time only! Pin
hellboy_8326-Aug-09 5:49
hellboy_8326-Aug-09 5:49 
AnswerRe: Input field for time only! Pin
Nagy Vilmos26-Aug-09 6:11
professionalNagy Vilmos26-Aug-09 6:11 
AnswerRe: Input field for time only! Pin
fly90426-Aug-09 6:26
fly90426-Aug-09 6:26 
GeneralRe: Input field for time only! Pin
Nagy Vilmos26-Aug-09 6:35
professionalNagy Vilmos26-Aug-09 6:35 
GeneralRe: Input field for time only! Pin
fly90426-Aug-09 6:41
fly90426-Aug-09 6:41 
GeneralRe: Input field for time only! Pin
Nagy Vilmos26-Aug-09 7:00
professionalNagy Vilmos26-Aug-09 7:00 
AnswerRe: Input field for time only! Pin
David Skelly27-Aug-09 2:18
David Skelly27-Aug-09 2:18 
Questionbuilding my own messenger using java Pin
Sedruol2k926-Aug-09 5:24
Sedruol2k926-Aug-09 5:24 
AnswerRe: building my own messenger using java Pin
Nagy Vilmos26-Aug-09 5:33
professionalNagy Vilmos26-Aug-09 5:33 
AnswerRe: building my own messenger using java Pin
Dave Kreskowiak26-Aug-09 6:14
mveDave Kreskowiak26-Aug-09 6:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.