CloneSet77


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21410.996statement_sequence[12]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12146
E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/test/net/sourceforge/squirrel_sql/plugins/dbcopy/gui/TestPreferencesPanel.java
22155
E:/TSE/Projects-CloneDR/sql12/test/jfctests/net/sourceforge/squirrel_sql/plugins/mssql/gui/TestPreferencesPanel.java
32151
E:/TSE/Projects-CloneDR/sql12/test/jfctests/net/sourceforge/squirrel_sql/plugins/oracle/gui/TestOraclePluginPreferencesPanel.java
42144
E:/TSE/Projects-CloneDR/sql12/test/jfctests/net/sourceforge/squirrel_sql/plugins/sqlscript/prefs/TestSQLScriptPreferencesPanel.java
Next
Last
Clone Instance
1
Line Count
21
Source Line
46
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/test/net/sourceforge/squirrel_sql/plugins/dbcopy/gui/TestPreferencesPanel.java

JScrollPane sp = new JScrollPane(p);
f.getContentPane().add(sp, BorderLayout.CENTER);
JButton button = new JButton("Save");
button.addActionListener(new ActionListener() {
                           public void actionPerformed(ActionEvent e) {
                             p.applyChanges();
                             PreferencesManager.unload();
                           }
                         } );
JButton exitButton = new JButton("Exit");
exitButton.addActionListener(new ActionListener() {
                               public void actionPerformed(ActionEvent e) {
                                 System.exit(0);
                               }
                             } );
JPanel buttonPanel = new JPanel();
buttonPanel.add(button);
buttonPanel.add(exitButton);
f.getContentPane().add(buttonPanel, BorderLayout.SOUTH);
f.setBounds(200, 50, 700, 700);
f.setVisible(true);


Next
Previous
Clone Instance
2
Line Count
21
Source Line
55
Source File
E:/TSE/Projects-CloneDR/sql12/test/jfctests/net/sourceforge/squirrel_sql/plugins/mssql/gui/TestPreferencesPanel.java

JScrollPane sp = new JScrollPane(p);
f.getContentPane().add(sp, BorderLayout.CENTER);
JButton button = new JButton("Save");
button.addActionListener(new ActionListener() {
                           public void actionPerformed(ActionEvent e) {
                             p.applyChanges();
                             PreferencesManager.unload();
                           }
                         } );
JButton exitButton = new JButton("Exit");
exitButton.addActionListener(new ActionListener() {
                               public void actionPerformed(ActionEvent e) {
                                 System.exit(0);
                               }
                             } );
JPanel buttonPanel = new JPanel();
buttonPanel.add(button);
buttonPanel.add(exitButton);
f.getContentPane().add(buttonPanel, BorderLayout.SOUTH);
f.setBounds(200, 50, 700, 700);
f.setVisible(true);


Next
Previous
Clone Instance
3
Line Count
21
Source Line
51
Source File
E:/TSE/Projects-CloneDR/sql12/test/jfctests/net/sourceforge/squirrel_sql/plugins/oracle/gui/TestOraclePluginPreferencesPanel.java

JScrollPane sp = new JScrollPane(p);
f.getContentPane().add(sp, BorderLayout.CENTER);
JButton button = new JButton("Save");
button.addActionListener(new ActionListener() {
                           public void actionPerformed(ActionEvent e) {
                             p.applyChanges();
                             prefsManager.unload();
                           }
                         } );
JButton exitButton = new JButton("Exit");
exitButton.addActionListener(new ActionListener() {
                               public void actionPerformed(ActionEvent e) {
                                 System.exit(0);
                               }
                             } );
JPanel buttonPanel = new JPanel();
buttonPanel.add(button);
buttonPanel.add(exitButton);
f.getContentPane().add(buttonPanel, BorderLayout.SOUTH);
f.setBounds(200, 50, 700, 700);
f.setVisible(true);


First
Previous
Clone Instance
4
Line Count
21
Source Line
44
Source File
E:/TSE/Projects-CloneDR/sql12/test/jfctests/net/sourceforge/squirrel_sql/plugins/sqlscript/prefs/TestSQLScriptPreferencesPanel.java

JScrollPane sp = new JScrollPane(p);
f.getContentPane().add(sp, BorderLayout.CENTER);
JButton button = new JButton("Save");
button.addActionListener(new ActionListener() {
                           public void actionPerformed(ActionEvent e) {
                             p.applyChanges();
                             SQLScriptPreferencesManager.unload();
                           }
                         } );
JButton exitButton = new JButton("Exit");
exitButton.addActionListener(new ActionListener() {
                               public void actionPerformed(ActionEvent e) {
                                 System.exit(0);
                               }
                             } );
JPanel buttonPanel = new JPanel();
buttonPanel.add(button);
buttonPanel.add(exitButton);
f.getContentPane().add(buttonPanel, BorderLayout.SOUTH);
f.setBounds(200, 50, 700, 700);
f.setVisible(true);


Clone AbstractionParameter Count: 1Parameter Bindings

JScrollPane sp = new JScrollPane(p);
f.getContentPane().add(sp, BorderLayout.CENTER);
JButton button = new JButton("Save");
button.addActionListener(new ActionListener() {
                           public void actionPerformed(ActionEvent e) {
                             p.applyChanges();
                              [[#variable1af2d2c0]].unload();
                           }
                         } );
JButton exitButton = new JButton("Exit");
exitButton.addActionListener(new ActionListener() {
                               public void actionPerformed(ActionEvent e) {
                                 System.exit(0);
                               }
                             } );
JPanel buttonPanel = new JPanel();
buttonPanel.add(button);
buttonPanel.add(exitButton);
f.getContentPane().add(buttonPanel, BorderLayout.SOUTH);
f.setBounds(200, 50, 700, 700);
f.setVisible(true);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1af2d2c0]]
PreferencesManager 
12[[#1af2d2c0]]
PreferencesManager 
13[[#1af2d2c0]]
prefsManager 
14[[#1af2d2c0]]
SQLScriptPreferencesManager