1 | private void addPromptForHibernateCheckBox(JPanel panel, int col, int row) {↵ | | 1 | private void addCheckKeywordsCheckBox(JPanel panel, int col, int row) {↵
|
2 | GridBagConstraints c = new GridBagConstraints();↵ | | 2 | GridBagConstraints c = new GridBagConstraints();↵
|
3 | c.gridx = col;↵ | | 3 | c.gridx = col;↵
|
4 | c.gridy = row; ↵ | | 4 | c.gridy = row; ↵
|
5 | c.anchor = GridBagConstraints.WEST;↵ | | 5 | c.anchor = GridBagConstraints.WEST;↵
|
6 | String cbLabelStr = ↵ | | 6 | String cbLabelStr =↵
|
7 | s_stringMgr.getString("PreferencesPanel.promptForHibernate");↵ | | 7 | s_stringMgr.getString("PreferencesPanel.checkKeywords");↵
|
8 | String cbToolTipText =↵ | | 8 | String cbToolTipText =↵
|
9 | s_stringMgr.getString("PreferencesPanel.promptForHibernateToolTip");↵ | | 9 | s_stringMgr.getString("PreferencesPanel.checkKeywordsToolTip");↵
|
10 | promptForHibernate↵ | | 10 | ↵
|
11 | CheckBox = new JCheckBox(cbLabelStr);↵ | | 11 | checkKeywordsCheckBox = new JCheckBox(cbLabelStr);↵
|
12 | promptForHibernateCheckBox.setToolTipText(cbToolTipText);↵ | | 12 | checkKeywordsCheckBox.setToolTipText(cbToolTipText);↵
|
13 | panel.add(promptForHibernateCheckBox, c);↵ | | 13 | panel.add(checkKeywordsCheckBox, c); ↵
|
14 | | | 14 |
|