• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Multiple Flashing carets

 
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having a panel in which there are two textfields.
Now on focus lost of the first textField , i open for a
JDialog box , within which i have one button clicking
on which another JDialog box opens.
Closing the last opened JDialog i come to the first JDialog opened,
which when closed returns me back to the first panel with
the textFields.
Now here comes the problem,, when it returns back i get two
focus/flashing carets , one of the next immediate editable textField and other on the first one.
Does anyone have an idea how i can solve this ?
Any kind of help would be appreciated.
 
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Angela,
that sounds like a bug in your program. are you using JOptionPane to open the dialogs?
chantal
 
reply
    Bookmark Topic Watch Topic
  • New Topic