Java Tutorials'a Hoş Geldiniz
Java programlama dilini öğrenmek için kapsamlı eğitimler ve kaynaklar.
İçerikler yakında eklenecek...
⊙ Java Tutorial 147 - ⊙ Java Tutorial 147
Key Concepts & Highlights
◉ Using JComboBox for image selection.
◉ Implementing FileChooser to choose images.
◉ Dynamic cropping based on predefined aspect ratio.
◉ Saving the selected area upon mouse release.
◉ Capturing aspect ratio-specified selection areas on images.
Java Tutorials... | Java | FileChooser from JComboBox and Open Image and Saving Aspect Ratio Selected Area
Java Tutorial Files: 147
FileChooserEnBoyOranliSeciliAlan.java
JB_147_FileChooserEnBoyOranliSeciliAlaninKeydedilmesi.zip
geyik.jpg
gunbatimi.jpg
kapi.jpg
secilenAlan_2025-11-20 14-56-16.jpg
secilenAlan-2025-11-20 14-56-16.jpg
secimYok.jpg
the_pines.jpg
Java Tutorial | Files: *.java and *.zip and images
⊙ Java Tutorial 147 | Comments
04:30 part was rly helpful with the FileChooser setup, never knew u could filter only JPG/PNG like that thnx man!! was struggling with this for a project
rly nice upgrade thnx!! file browsing + cropping together makes it feel like real app now. at 02:12 the filter part was super helpful, finally understood it properly. also liked how smooth the workflow is from select to save 👍
this tutorial is rly helpfull!! the **02:12** part about how the filenameextensionfilter works was exactly what i needed for my project. the image cropping logic is super clean too. thnx for the great java guide, keep it up!!
helpful, thanks for the video! i was trying to make my logo yuvarlak in swing and this file filtering part helped a lot. `revalidate()` and `repaint()` still confuses me sometimes but this workflow is great. do you have a JavaFX version?