----------------- path=«images / Muzey.jpg »;. net. URL imgURL=menu. class. getResource (path); icon=new ImageIcon (imgURL);
/ / Кнопка «Музей» btn1=new JButton («»);. setIcon (icon); _menu. add (btn1);. add (btn1);. addActionListener (new ActionListener () {void actionPerformed (ActionEvent e) {Main. Paths. musuem_frank ();
}});
/ / ------------------------ label3=new JLabel ();. add (label3);
/ / ------------------------ path5=«images / stegku.jpg »;. net. URL imgURL5=menu. class. getResource (path5); icon5=new ImageIcon (imgURL5);
/ / Кнопка «Стежки» btn5=new JButton («»);. setIcon (icon5); _menu. add (btn5);. add (btn5);. addActionListener (new ActionListener () {void actionPerformed (ActionEvent e) {Main. Paths. paths_frank ();
}});
/ / ------------------------ label4=new JLabel ();. add (label4);
/ / ------------------------ path4=«images / Ivan_Franko.jpg »;. net. URL imgURL4=menu. class. getResource (path4); icon4=new ImageIcon (imgURL4);
/ / Кнопка «І. Франко »btn4=new JButton (« »);. setIcon (icon4); _menu. add (btn4);. add (btn4);. addActionListener (new ActionListener () {void actionPerformed (ActionEvent e) {Main. Autobiography. transition_frank ();
}});
/ / ------------------------ _menu. add (panel1);
/ / ------------------------
/ / Головне менюmain_menu=new JMenuBar (); font=new Font («Verdana», Font. PLAIN,
); _menu. setJMenuBar (main_menu);
/ / -------------------------------
/ / вкладка Музейmusuem_menu=new JMenu («Музей»); _menu. setFont (font);
/ / кнопка компл. музеюmusuem_frank=new JMenuItem («Комплекс музею»); _frank. setFont (font); _menu. add (musuem_frank); _frank. addActionListener (new ActionListener () {void actionPerformed (ActionEvent e) {Main. Paths. musuem_frank ();
}});
/ / кнопка компл. садібіhome_frank=new JMenuItem («Комплекс садиби»); _frank. setFont (font); _menu. add (home_frank); _frank. addActionListener (new ActionListener () {void actionPerformed (ActionEvent e) {Main. Paths. home_frank ();
}});
/ / кнопка галявина казаокlawn_frank=new JMenuItem («Галявина казок»); _frank. setFont (font); _menu. add (lawn_frank); _frank. addActionListener (new ActionListener () {void actionPerformed (ActionEvent e) {Main. Paths. lawn_frank ();
}});
/ / кнопка стібки І. Ф.paths_frank=new JMenuItem («Стежки І. Франка»); _frank. setFont (font); _menu. add (paths_frank); _frank. addActionListener (new ActionListener () {void actionPerformed (ActionEvent e) {Main. Paths. paths_frank ();
}});
/ / кнопка бібліотекаlib_frank=new JMenuItem («Бібліотека»); _frank. setFont (font); _menu. add (lib_frank); _frank. addActionListener (new ActionListener () {void actionPerformed (ActionEvent e) {Main. Autobiography. lib_frank ();
}});
/ / кнопка віхідexit_item=new JMenuItem («ВИХІД»); _item. setFont...