Open MatthewHawkins opened 8 months ago
@MatthewHawkins
// Frame should stay in the run method
FYI, Frames can be declared as as member variables if the constructor is defined
public class MyApp extends App {
Frame frame = new Frame();
public MyApp() throws WebforjAppInitializeException {
super();
}
@Override
public void run() throws WebforjException {
//...
// frame.add(com1, comp2);
}
}
For example:
Good ✔️:
Incorrect ❌: