COMP2396
Loading...
Searching...
No Matches
FlowLayoutEx Class Reference

Public Member Functions

void go ()
 

Static Public Member Functions

static void main (String[] args)
 

Detailed Description

Definition at line 4 of file FlowLayoutEx.java.

Member Function Documentation

◆ go()

void FlowLayoutEx.go ( )
inline

Definition at line 10 of file FlowLayoutEx.java.

10 {
11 JFrame frame = new JFrame();
12 frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
13 JPanel panel = new JPanel();
14 panel.setBackground(Color.DARK_GRAY);
15 frame.add(panel, BorderLayout.EAST);
16 frame.setSize(250, 200);
17 frame.setVisible(true);
18 }

Referenced by main().

Here is the caller graph for this function:

◆ main()

static void FlowLayoutEx.main ( String[] args)
inlinestatic

Definition at line 5 of file FlowLayoutEx.java.

5 {
6 FlowLayoutEx gui = new FlowLayoutEx();
7 gui.go();
8 }

References go().

Here is the call graph for this function:

The documentation for this class was generated from the following file: