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

error while choosing filefilter !  RSS feed

 
vicky ma
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



i dont understand why ?

 
Muhammad Saifuddin
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vicky ma wrote:
i dont understand why ?


public abstract class FileFilter
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you probably imported java.io.* or java.io.FileFilter and did not import javax.swing.filechooser.FileFilter. Although the two look very much alike they are not compatible.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!