I got a problem. I created two BankAccounts using MVC but when I execute them, the frames open in the same location. How can I set different locations?
Asked
Active
Viewed 34 times
-2
-
1Set their position, isn't there methods? Did you read the docs? – Sterling Archer Mar 24 '15 at 21:31
1 Answers
3
Assuming yours is a Swing GUI (you don't tell us), JFrame has a setLocation(...)
method, a method that JFrame API will readily show you.
But having said that, be sure to also read The Use of Multiple JFrames, Good/Bad Practice?

Community
- 1
- 1

Hovercraft Full Of Eels
- 283,665
- 25
- 256
- 373