×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Massimo Zappino
Added: Dec 21, 2015 1:25 PM
Modified: Aug 27, 2017 3:32 PM
Views: 19
java.lang.NullPointerException
at com.intellij.uiDesigner.core.GridLayoutManager.addLayoutComponent()
A solution is to set programmatically the Layout or to change the Layout Manager from the property (for example BorderLayout)
  1. jPanel.setLayout(new BoxLayout(jPanel, BoxLayout.PAGE_AXIS));