• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

execution of code is not sequential

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
i have a problem that the written below is not executed sequentially:
if (rt==JOptionPane.YES_OPTION)
{
System.out.println("Inside yes of message");
new SaveDialog(this,frmloc);
print();
saveflg = 0;
}
the function print() is executed before SaveDialog is executed
please reply soon its urgent
ritu
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this could be due to the hardware perfomance.
the time taken to realise the visual component completely is more than the time taken to print on the console.
 
reply
    Bookmark Topic Watch Topic
  • New Topic