JAVA TIPS: How to center a JFrame on screen in netbeans java

Right click on the JFrame, select Code. In the field of Form Size Policy, the default selection is Generate pack(). If you’d like to center this JFrame on screen after you initiate the application, you need to select Generate Resize Code. Then check Generate Center.

Comments

Popular posts from this blog

gspread error:gspread.exceptions.SpreadsheetNotFound

P and q values in RNA Seq

Update the TOC (table of content) of MS Word .docx documents with Python