Java. GUI WindowBuilder read from JTextField by clicking button
问题 I'm useing WindowBuilder, and I want to ask how to search in a text file for specific word, which I enter to JTextField by clicking a Search button? My program looks like this: image http://img252.imageshack.us/img252/1410/39931036.png This is my JTextField and JButton : private void initialize() { frmInformacijaApieMuzikos = new JFrame(); frmInformacijaApieMuzikos.setResizable(false); frmInformacijaApieMuzikos.setIconImage(Toolkit.getDefaultToolkit() .getImage(KDVizualizuotas.class