A question about an input dialog


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: A question about an input dialog

  1. #1
    Join Date
    Dec 2003
    Posts
    1

    A question about an input dialog

    Hello. I would like to ask a question regarding java input dialogs. What i want to do is when the dialog box closes and then opens again, the last input in the dialog box to appear in the text field, like it happens sometimes with password fields. I've been trying to find a code example in the web but no luck. Can anyone offer advice? Thank you for reading this.

  2. #2
    Join Date
    Jan 2004
    Posts
    8
    When dialog box is closed store contents of it into a variable.


    Then use

    insert(String str, int pos)

    method of the java.awt.TextArea class
    when you reopen the dialogBox

    Ash

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center