Hello tomitzel
You cannot create a new method definition inside the declaration of a method using modifiers. Also, fereastra does not implement the ActionListener interface, fereastra is only a JFrame. Try extending LibrarySystem form JFrame and let it implement ActionListener.
