CloneSet105


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.980method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18505
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/GUIUtilities.java
28528
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/GUIUtilities.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
505
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/GUIUtilities.java

//}}}
//{{{ Canned dialog boxes
//{{{ message() method
/**
 * Displays a dialog box.
 * The title of the dialog is fetched from
 * the <code><i>name</i>.title</code> property. The message is fetched
 * from the <code><i>name</i>.message</code> property. The message
 * is formatted by the property manager with <code>args</code> as
 * positional parameters.
 * @param comp The component to display the dialog for
 * @param name The name of the dialog
 * @param args Positional parameters to be substituted into the
 * message text
 */
public static void message(Component comp, String name, Object[] args) {
  hideSplashScreen();
  JOptionPane.showMessageDialog(comp, jEdit.getProperty(name.concat(".message"), args), jEdit.getProperty(name.concat(".title"), args), JOptionPane.INFORMATION_MESSAGE);
} //}}}


First
Previous
Clone Instance
2
Line Count
8
Source Line
528
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/GUIUtilities.java

//{{{ error() method
/**
 * Displays an error dialog box.
 * The title of the dialog is fetched from
 * the <code><i>name</i>.title</code> property. The message is fetched
 * from the <code><i>name</i>.message</code> property. The message
 * is formatted by the property manager with <code>args</code> as
 * positional parameters.
 * @param comp The component to display the dialog for
 * @param name The name of the dialog
 * @param args Positional parameters to be substituted into the
 * message text
 */
public static void error(Component comp, String name, Object[] args) {
  hideSplashScreen();
  JOptionPane.showMessageDialog(comp, jEdit.getProperty(name.concat(".message"), args), jEdit.getProperty(name.concat(".title"), args), JOptionPane.ERROR_MESSAGE);
} //}}}


Clone AbstractionParameter Count: 2Parameter Bindings

//{{{ error() method
/**
         * Displays an error dialog box.
         * The title of the dialog is fetched from
         * the <code><i>name</i>.title</code> property. The message is fetched
         * from the <code><i>name</i>.message</code> property. The message
         * is formatted by the property manager with <code>args</code> as
         * positional parameters.
         * @param comp The component to display the dialog for
         * @param name The name of the dialog
         * @param args Positional parameters to be substituted into the
         * message text
         */
//}}}
//{{{ Canned dialog boxes
//{{{ message() method
/**
         * Displays a dialog box.
         * The title of the dialog is fetched from
         * the <code><i>name</i>.title</code> property. The message is fetched
         * from the <code><i>name</i>.message</code> property. The message
         * is formatted by the property manager with <code>args</code> as
         * positional parameters.
         * @param comp The component to display the dialog for
         * @param name The name of the dialog
         * @param args Positional parameters to be substituted into the
         * message text
         */
public static void [[#variableae78a60]](Component comp, String name, Object[] args) {
  hideSplashScreen();
  JOptionPane.showMessageDialog(comp, jEdit.getProperty(name.concat(".message"), args), jEdit.getProperty(name.concat(".title"), args), JOptionPane. [[#variableae78a00]]);
} //}}}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ae78a60]]
message 
12[[#ae78a60]]
error 
21[[#ae78a00]]
INFORMATION_MESSAGE 
22[[#ae78a00]]
ERROR_MESSAGE