Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!

Matt Krawczyk

Greenhorn
+ Follow
since Aug 25, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Matt Krawczyk

Hello everybody; I'm new here and in Java.

I am writing my first simple application and couldn't find the proper way to declare bean, that shouldn't be instantiated on app startup. My case is:
I have a main window, where is button that opens another window - for now it's ok.
I want another window (where the user will fill the data and send some to main window) opening from it. When I declare bean with another window both windows appears on startup.
Shouldn't I declare bean for that window (so for what is that XML file? Only for main frame?)
Should I create another XML file?
Should I set some property for such bean?
10 months ago