Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package txteditor;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
- public class Actions {
- {
- Edit edit = new Edit();
- Layout layout = new Layout();
- layout.bold.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent e) {
- System.out.println("TEST");
- edit.Bold();
- }
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement