All pastes #446173 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-18 10:22 UTC
rendered paste body
    public c_easter_proxy() {

     ta1.setText("laen kasutajaliidest..");  
  
     Font font = new Font("Bitstream Vera Sans", Font.BOLD, 12);
        JScrollPane scroll1 = new JScrollPane(ta1);      

        
        //... Get the content pane, set layout, add to center
        JPanel content = new JPanel();
        content.add(scroll1);
        content.add(b1);
    //    content.setLayout(null);

        // button b1 seaded
        b1.addActionListener(this);
        b1.setLocation(20, 20);
        b1.setSize(1, 1);  
    
            // JTextArea ta1 seaded (vasak tekstiv2li)
        ta1.setLocation(0, 0);
        ta1.setSize(300, 200);
        ta1.setLineWrap(true);
        ta1.setFont(font);
        

              
        //... Set window characteristics.
        this.setContentPane(content);
        this.setTitle("Alex `easter` Steadman >> ProxyFinder");
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      //  this.pack();
    }