- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Gson g =
new Gson()
GsonBuilder gsonBuilder;gsonBuilder.create()
new GsonBuilder().create()
- Smart code suggestions by Codota
}
@Override public void focusGained(FocusEvent event) { textField.selectAll(); }
@Override protected JComponent createCenterPanel() { nameField = new JBTextField("newRule"); double h = nameField.getSize().getHeight(); nameField.setPreferredSize(new Dimension(250,(int)h)); setTitle("Name the extracted rule"); nameField.selectAll(); return nameField; }