setbounds Questions

9

Solved

I'm trying to set a Windows Form on secondary monitor, as follows: private void button1_Click(object sender, EventArgs e) { MatrixView n = new MatrixView(); Screen[] screens = Screen.AllScreens;...
Cotto asked 1/9, 2009 at 16:19

7

I cannot find anything on setBounds, what it is for, or what its function actually is. Could someone clear me up on this? Thanks so much!
Hepza asked 16/10, 2013 at 22:36

1

Solved

I have noticed something very strange. I am persisting the top, left, width, and height properties of a form when it is closing, and using this information to restore the form's last position when ...
Flushing asked 19/8, 2016 at 9:5

3

I'm trying to set the bounds of a map fitbounds doesnt work because it puts some space around the bounds therefore doing {{{map.fitBounds(map.getBounds())}}} a few times will quickly zoom the ...
Kimberelykimberlee asked 18/3, 2010 at 8:40

3

Solved

I'm having a problem with this. I have a JPanel and normally I would create a JLabel like this: JLabel lblNewLabel = new JLabel("New label"); lblNewLabel.setBounds(0, 0, 135, 14); panel.add(lblNew...
Dovelike asked 25/12, 2012 at 11:16
1

© 2022 - 2024 — McMap. All rights reserved.