NULL-Layout setzen

pikus

Mitglied
hallo
wie kann ich dem JFrame NULL-Layout setzen

Code:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;

/**
 *
 * @author info
 */
public class Main extends JFrame{
    JFrame frame;
  
    
    public Main() {
    }
    
    public static void main(String[] args) {
        Main m = new Main();
        m.los();
        
    }
    
    public void los(){
       frame = new JFrame();
       frame.setSize(800,800);
        frame.setVisible(true);
        frame.setFocusable(true);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        
        
 
        
    }
    
    
}

DANKE
 
Zurück