Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

filefilter in filechooser  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,

the code which u told was for a particular type of files.what i wanted
was what happens in notepad. we can choose by typing file extension
in file name textfield or clicking on "files of type"
textfield in notepad.kindly guide
srijan
 
deekasha gunwant
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi srijan,
go to ur jdk1.3\demo\jfc\filechooserdemo directory there u'll find 3 classes which use the filter and JFilechooser. just read the code. it's exactly what u want and a bit more.
i got in jdk1.3 itself. (i hope such an example will be there in jdk1.2.2 )
regards
deekasha
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!