I installed NetBeans 8.0.2 recently, and tried to set null layout for a JFrame
. Tried to proceed but RIGHT CLICK on the frame didn't work. I am actually trying to set a background image for a frame.
Someone has already posted cannot right click on Jframe or Jpanel in netbeans 8.0 but it has no answers.
How to fix this problem? Hope that someone has found a solution.
It works for me to right-click on a JFrame and use Set Layout -> Null Layout with Netbeans 8.02. They did not remove it as an option. My guess would be that it is a problem specific to your configuration and/or installation.
Close Netbeans, delete your user configuration directory and cache directory ( see http://wiki.netbeans.org/FaqWhatIsUserdir ) and reopen Netbeans. If the problem persists use View -> IDE Log and add the Error messages from the log to your question. After opening Netbeans, only try one thing and then copy the log so you don't have a bunch of irrelevant error messages in the log.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.