java - JFrame: get size without borders? -


in java, possible width , height of jframe without title , other borders?

frame.getwidth() , frame.getheight()1 seems return width including border.

thanks.

  frame.getcontentpane().getsize();  

Comments

Popular posts from this blog

mysql - How to insert just year and month into date field? -

c# - Detect changes in ObjectSet in Entity Framework 4.0? -