Java Tutorial | File Filter in JFileChooser

preview_player
Показать описание
This tutorial is about File Filtering, this helps you to select format you wish to choose. Feel free to leave a comment.

Things I missed out:
You can use Arraylist to put a pack of formats.
Copy and paste the code to create a new Filter, make sure you inherit from your class to get properities.

Lastly Thanks for Watching (Man I need to Sort out my Capital letters, too much Java in my System) :D
Рекомендации по теме
Комментарии
Автор

Make an Array of type String, and when you type equalsIgnoreCase() make sure you put variable name alongside .length(). I hope I helped :)

ismailzd
Автор

@TheGladeJoakim You set the string as "TXT", in my vid I put "GIF". Follow on, and it should perform as you planned :)

ismailzd
Автор

thanks mate, you were very helpful for beginners, especially me :)

pileylistify
Автор

Yeah I know, pretty bad practice starting a var name with a uppercase either indicating that its static or a class name. :). But its also good to keep the vars understandable :).

ismailzd
Автор

great tutorial, helped me with a text editor I'm developing

johnnyjinkle
Автор

I'm sorry about that mate, you can enlarge the screen to see the code, I didn't do the same mistake in my latest java tutorials :)

ismailzd
Автор

I like your tutorials. Please do you know of any book that will help me be a better java developer

OliverMensahDev
Автор

What the fudge! This is great! Cheers!

TheFlyguy
Автор

I want to select more than 50 images ate time using GUI, so how can i do that.

naveensaragadam
Автор

please write variables in lowercase....i`m getting goosebumps.

holzjungeDrummer