Advertisement
Guest User

Untitled

a guest
Jan 17th, 2015
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.50 KB | None | 0 0
  1. package txteditor;
  2.  
  3. import java.awt.event.ActionEvent;
  4. import java.awt.event.ActionListener;
  5.  
  6. public class Actions {
  7.         {
  8.             Edit edit = new Edit();
  9.             Layout layout = new Layout();
  10.            
  11.  
  12.        
  13.         layout.bold.addActionListener(new ActionListener() {
  14.         public void actionPerformed(ActionEvent e) {
  15.                 System.out.println("TEST");
  16.                 edit.Bold();
  17.  
  18.                
  19.         }
  20.        
  21. });    
  22.        
  23.        
  24. }      
  25.        
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement