Update Mainwindow.java

This is the last changed view of the bar-code project
Please make to files to let me add them