Originally posted by dhwani mathur:
hi theJaswini!!!
As i am new to the use of this component i am unable to clear your doubt but it will be kinda of you if you help me on the below shown problem of JFileChooser.
currently i am working on a Browse Button in that i am using JFileChooser
but i am not getting,what happens if i click on the open button of JFileChooser?
What actualy i am doing is if i click on the Browse button (infront of it i have placed a empty text field),the FileChhooser should appear than after i choose a file and click on the open button the path of file must be displayed in the empty TextField .
what i think is once i click on the open Button of the file it is open to be read ? but how wil selected file path appear in the textfield?
please let me know if i am on the right track?
And one more question is the file open to be read? because at runtime i want data to be retrieved.
![]()
Originally posted by Michael Dunn:
> Any idea why the button click is triggered more than once?
usual reason is the listener is added more than once.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |