Update Mainwindow.java

This is the last changed view of the barcode project
Merge pull request #1 from ahmedalaa3307023/master

Update Mainwindow.java