bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
private void analyseSubGraphs() { boolean foundStartGraph = false; for ( Iterator iter = _graphList.iterator(); iter.hasNext(); ) { SparseGraph g = (SparseGraph) iter.next(); Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (Directed... | private void analyseSubGraphs() { boolean foundStartGraph = false; for ( Iterator iter = _graphList.iterator(); iter.hasNext(); ) { SparseGraph g = (SparseGraph) iter.next(); Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (Directed... | 3,239,960 |
private void analyseSubGraphs() { boolean foundStartGraph = false; for ( Iterator iter = _graphList.iterator(); iter.hasNext(); ) { SparseGraph g = (SparseGraph) iter.next(); Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (Directed... | private void analyseSubGraphs() { boolean foundStartGraph = false; for ( Iterator iter = _graphList.iterator(); iter.hasNext(); ) { SparseGraph g = (SparseGraph) iter.next(); Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (Directed... | 3,239,961 |
private void analyseSubGraphs() { boolean foundStartGraph = false; for ( Iterator iter = _graphList.iterator(); iter.hasNext(); ) { SparseGraph g = (SparseGraph) iter.next(); Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (Directed... | private void analyseSubGraphs() { boolean foundStartGraph = false; for ( Iterator iter = _graphList.iterator(); iter.hasNext(); ) { SparseGraph g = (SparseGraph) iter.next(); Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (Directed... | 3,239,962 |
private void copySubGraphs( SparseGraph g, DirectedSparseVertex targetVertex ) { DirectedSparseVertex sourceVertex = null; Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (DirectedSparseVertex)vertices[ i ]; if ( v.getUserDatum( LABEL_KEY... | private void copySubGraphs( SparseGraph g, DirectedSparseVertex targetVertex ) { DirectedSparseVertex sourceVertex = null; Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (DirectedSparseVertex)vertices[ i ]; if ( v.getUserDatum( LABEL_KEY... | 3,239,963 |
private void copySubGraphs( SparseGraph g, DirectedSparseVertex targetVertex ) { DirectedSparseVertex sourceVertex = null; Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (DirectedSparseVertex)vertices[ i ]; if ( v.getUserDatum( LABEL_KEY... | private void copySubGraphs( SparseGraph g, DirectedSparseVertex targetVertex ) { DirectedSparseVertex sourceVertex = null; Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (DirectedSparseVertex)vertices[ i ]; if ( v.getUserDatum( LABEL_KEY... | 3,239,964 |
private void copySubGraphs( SparseGraph g, DirectedSparseVertex targetVertex ) { DirectedSparseVertex sourceVertex = null; Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (DirectedSparseVertex)vertices[ i ]; if ( v.getUserDatum( LABEL_KEY... | private void copySubGraphs( SparseGraph g, DirectedSparseVertex targetVertex ) { DirectedSparseVertex sourceVertex = null; Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (DirectedSparseVertex)vertices[ i ]; if ( v.getUserDatum( LABEL_KEY... | 3,239,965 |
private void copySubGraphs( SparseGraph g, DirectedSparseVertex targetVertex ) { DirectedSparseVertex sourceVertex = null; Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (DirectedSparseVertex)vertices[ i ]; if ( v.getUserDatum( LABEL_KEY... | private void copySubGraphs( SparseGraph g, DirectedSparseVertex targetVertex ) { DirectedSparseVertex sourceVertex = null; Object[] vertices = g.getVertices().toArray(); for ( int i = 0; i < vertices.length; i++ ) { DirectedSparseVertex v = (DirectedSparseVertex)vertices[ i ]; if ( v.getUserDatum( LABEL_KEY... | 3,239,966 |
private void executeMethod( boolean optimize ) throws FoundNoEdgeException { DirectedSparseEdge edge = null; Object[] outEdges = null; if ( _nextVertex.containsUserDatumKey( BACK_KEY ) && _history. size() >= 3 ) { Float probability = (Float)_nextVertex.getUserDatum( BACK_KEY ); int index = _radomGenerato... | private void executeMethod( boolean optimize ) throws FoundNoEdgeException { DirectedSparseEdge edge = null; Object[] outEdges = null; if ( _nextVertex.containsUserDatumKey( BACK_KEY ) && _history. size() >= 3 ) { Float probability = (Float)_nextVertex.getUserDatum( BACK_KEY ); int index = _radomGenerato... | 3,239,967 |
private void invokeMethod( String method ) throws GoBackToPreviousVertexException { Class cls = _object.getClass(); try { if ( method.compareTo( "" ) != 0 ) { Method meth = cls.getMethod( method, null ); meth.invoke( _object, null ); } } catch( NoSuchMethodException e ) { _logger.error( e ); _lo... | private void invokeMethod( String method ) throws GoBackToPreviousVertexException { Class cls = _object.getClass(); try { if ( method.compareTo( "" ) != 0 ) { Method meth = cls.getMethod( method, null ); meth.invoke( _object, null ); } } catch( NoSuchMethodException e ) { _logger.error( e ); _lo... | 3,239,968 |
private SparseGraph parseFile( String fileName ) { SparseGraph graph = new SparseGraph(); graph.addUserDatum( FILE_KEY, fileName, UserData.SHARED ); try { _logger.info( "Parsing file: " + fileName ); _doc = _parser.build( fileName ); // Parse all vertices (nodes) Iterator iter = _doc.getDescendants( new... | private SparseGraph parseFile( String fileName ) { SparseGraph graph = new SparseGraph(); graph.addUserDatum( FILE_KEY, fileName, UserData.SHARED ); try { _logger.info( "Parsing file: " + fileName ); _doc = _parser.build( fileName ); // Parse all vertices (nodes) Iterator iter = _doc.getDescendants( new... | 3,239,969 |
private SparseGraph parseFile( String fileName ) { SparseGraph graph = new SparseGraph(); graph.addUserDatum( FILE_KEY, fileName, UserData.SHARED ); try { _logger.info( "Parsing file: " + fileName ); _doc = _parser.build( fileName ); // Parse all vertices (nodes) Iterator iter = _doc.getDescendants( new... | private SparseGraph parseFile( String fileName ) { SparseGraph graph = new SparseGraph(); graph.addUserDatum( FILE_KEY, fileName, UserData.SHARED ); try { _logger.info( "Parsing file: " + fileName ); _doc = _parser.build( fileName ); // Parse all vertices (nodes) Iterator iter = _doc.getDescendants( new... | 3,239,970 |
private SparseGraph parseFile( String fileName ) { SparseGraph graph = new SparseGraph(); graph.addUserDatum( FILE_KEY, fileName, UserData.SHARED ); try { _logger.info( "Parsing file: " + fileName ); _doc = _parser.build( fileName ); // Parse all vertices (nodes) Iterator iter = _doc.getDescendants( new... | private SparseGraph parseFile( String fileName ) { SparseGraph graph = new SparseGraph(); graph.addUserDatum( FILE_KEY, fileName, UserData.SHARED ); try { _logger.info( "Parsing file: " + fileName ); _doc = _parser.build( fileName ); // Parse all vertices (nodes) Iterator iter = _doc.getDescendants( new... | 3,239,971 |
private SparseGraph parseFile( String fileName ) { SparseGraph graph = new SparseGraph(); graph.addUserDatum( FILE_KEY, fileName, UserData.SHARED ); try { _logger.info( "Parsing file: " + fileName ); _doc = _parser.build( fileName ); // Parse all vertices (nodes) Iterator iter = _doc.getDescendants( new... | private SparseGraph parseFile( String fileName ) { SparseGraph graph = new SparseGraph(); graph.addUserDatum( FILE_KEY, fileName, UserData.SHARED ); try { _logger.info( "Parsing file: " + fileName ); _doc = _parser.build( fileName ); // Parse all vertices (nodes) Iterator iter = _doc.getDescendants( new... | 3,239,972 |
public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | 3,239,973 |
public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | 3,239,974 |
public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | 3,239,975 |
public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | 3,239,976 |
public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | 3,239,977 |
public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | 3,239,978 |
public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | public void writeGraph( String mergedGraphml_ ) { StringBuffer sourceFile = new StringBuffer(); try { FileWriter file = new FileWriter( mergedGraphml_ ); sourceFile.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ); sourceFile.append( "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns/graph... | 3,239,979 |
PropertyTabSheet(final Panel panel, final boolean styleProperties) { super(styleProperties ? "Styles" : "Properties"); final GridBox gb = initGridBox(); gb.setPosition(GAP, GAP); final Divider div = new Divider(); div.setX(GAP); div.setHeight(6); final Label lbl = ne... | PropertyTabSheet(final Panel panel, final boolean styleProperties) { super(styleProperties ? "Styles" : "Properties"); final GridBox gb = initGridBox(); gb.setPosition(GAP, GAP); final Divider div = new Divider(); div.setX(GAP); div.setHeight(6); final Label lbl = ne... | 3,239,980 |
PropertyTabSheet(final Panel panel, final boolean styleProperties) { super(styleProperties ? "Styles" : "Properties"); final GridBox gb = initGridBox(); gb.setPosition(GAP, GAP); final Divider div = new Divider(); div.setX(GAP); div.setHeight(6); final Label lbl = ne... | PropertyTabSheet(final Panel panel, final boolean styleProperties) { super(styleProperties ? "Styles" : "Properties"); final GridBox gb = initGridBox(); gb.setPosition(GAP, GAP); final Divider div = new Divider(); div.setX(GAP); div.setHeight(6); final Label lbl = ne... | 3,239,981 |
public void itemChange(ItemChangeEvent ev) { if (ev.getType() == ItemChangeEvent.Type.ADD && panel.getChildren().size() == 1) { gb.getRows().clear(); Component comp = panel.getChildren().get(0); for (Property prop : ... | public void itemChange(ItemChangeEvent ev) { if (ev.getType() == ItemChangeEvent.Type.ADD && panel.getChildren().size() == 1) { gb.getRows().clear(); Component comp = panel.getChildren().get(0); for (Property prop : ... | 3,239,983 |
public void itemChange(ItemChangeEvent ev) { if (ev.getType() == ItemChangeEvent.Type.ADD && panel.getChildren().size() == 1) { gb.getRows().clear(); Component comp = panel.getChildren().get(0); for (Property prop : ... | public void itemChange(ItemChangeEvent ev) { if (ev.getType() == ItemChangeEvent.Type.ADD && panel.getChildren().size() == 1) { gb.getRows().clear(); Component comp = panel.getChildren().get(0); for (Property prop : ... | 3,239,984 |
public boolean autodetect() { Vector items = new Vector(); /* * Check if the user has entered data into the ComboBox and add it to the Itemlist */ String selected = (String) this.pathComboBox.getSelectedItem(); if (selected == null) ... | public boolean autodetect() { Vector items = new Vector(); /* * Check if the user has entered data into the ComboBox and add it to the Itemlist */ String selected = (String) this.pathComboBox.getSelectedItem(); if (selected == null) ... | 3,239,985 |
public boolean autodetect() { Vector items = new Vector(); /* * Check if the user has entered data into the ComboBox and add it to the Itemlist */ String selected = (String) this.pathComboBox.getSelectedItem(); if (selected == null) ... | public boolean autodetect() { Vector items = new Vector(); /* * Check if the user has entered data into the ComboBox and add it to the Itemlist */ String selected = (String) this.pathComboBox.getSelectedItem(); if (selected == null) ... | 3,239,986 |
public UserInputPanel(InstallerFrame parent, InstallData installData) { super(parent, installData); instanceNumber = instanceCount++; this.parentFrame = parent; // ---------------------------------------------------- // ---------------------------------------------------- ... | public UserInputPanel(InstallerFrame parent, InstallData installData) { super(parent, installData); instanceNumber = instanceCount++; this.parentFrame = parent; // ---------------------------------------------------- // ---------------------------------------------------- ... | 3,239,987 |
private void addTitle(XMLElement spec) { String title = getText(spec); boolean italic = getBoolean(spec, ITALICS, false); boolean bold = getBoolean(spec, BOLD, false); float multiplier = getFloat(spec, SIZE, 2.0f); int justify = getAlignment(spec); if (title != null) ... | private void addTitle(XMLElement spec) { String title = getText(spec); boolean italic = getBoolean(spec, ITALICS, false); boolean bold = getBoolean(spec, BOLD, false); float multiplier = getFloat(spec, SIZE, 2.0f); int justify = getAlignment(spec); if (title != null) ... | 3,239,988 |
private void addTitle(XMLElement spec) { String title = getText(spec); boolean italic = getBoolean(spec, ITALICS, false); boolean bold = getBoolean(spec, BOLD, false); float multiplier = getFloat(spec, SIZE, 2.0f); int justify = getAlignment(spec); if (title != null) ... | private void addTitle(XMLElement spec) { String title = getText(spec); boolean italic = getBoolean(spec, ITALICS, false); boolean bold = getBoolean(spec, BOLD, false); float multiplier = getFloat(spec, SIZE, 2.0f); int justify = getAlignment(spec); if (title != null) ... | 3,239,989 |
private void buildUI() { Object[] uiElement; for (int i = 0; i < uiElements.size(); i++) { uiElement = (Object[]) uiElements.elementAt(i); if (itemRequiredFor((Vector) uiElement[POS_PACKS]) && itemRequiredForOs((Vector) uiElement[POS_OS])) ... | private void buildUI() { Object[] uiElement; for (int i = 0; i < uiElements.size(); i++) { uiElement = (Object[]) uiElements.elementAt(i); if (itemRequiredFor((Vector) uiElement[POS_PACKS]) && itemRequiredForOs((Vector) uiElement[POS_OS])) ... | 3,239,990 |
private void buildUI() { Object[] uiElement; for (int i = 0; i < uiElements.size(); i++) { uiElement = (Object[]) uiElements.elementAt(i); if (itemRequiredFor((Vector) uiElement[POS_PACKS]) && itemRequiredForOs((Vector) uiElement[POS_OS])) ... | private void buildUI() { Object[] uiElement; for (int i = 0; i < uiElements.size(); i++) { uiElement = (Object[]) uiElements.elementAt(i); if (itemRequiredFor((Vector) uiElement[POS_PACKS]) && itemRequiredForOs((Vector) uiElement[POS_OS])) ... | 3,239,991 |
public boolean itemRequiredForOs(Vector os) { if (os.size() == 0) { return true; } for (int i = 0; i < os.size(); i++) { String family = ((XMLElement) os.elementAt(i)).getAttribute(FAMILY); boolean match = false; if (family.equals("windows")) { ... | public boolean itemRequiredForOs(Vector os) { if (os.size() == 0) { return true; } for (int i = 0; i < os.size(); i++) { String family = ((XMLElement) os.elementAt(i)).getAttribute(FAMILY); boolean match = false; if ("windows".equals(family)) { ... | 3,239,992 |
public boolean itemRequiredForOs(Vector os) { if (os.size() == 0) { return true; } for (int i = 0; i < os.size(); i++) { String family = ((XMLElement) os.elementAt(i)).getAttribute(FAMILY); boolean match = false; if (family.equals("windows")) { ... | public boolean itemRequiredForOs(Vector os) { if (os.size() == 0) { return true; } for (int i = 0; i < os.size(); i++) { String family = ((XMLElement) os.elementAt(i)).getAttribute(FAMILY); boolean match = false; if (family.equals("windows")) { ... | 3,239,993 |
public boolean itemRequiredForOs(Vector os) { if (os.size() == 0) { return true; } for (int i = 0; i < os.size(); i++) { String family = ((XMLElement) os.elementAt(i)).getAttribute(FAMILY); boolean match = false; if (family.equals("windows")) { ... | public boolean itemRequiredForOs(Vector os) { if (os.size() == 0) { return true; } for (int i = 0; i < os.size(); i++) { String family = ((XMLElement) os.elementAt(i)).getAttribute(FAMILY); boolean match = false; if (family.equals("windows")) { ... | 3,239,994 |
public boolean itemRequiredForOs(Vector os) { if (os.size() == 0) { return true; } for (int i = 0; i < os.size(); i++) { String family = ((XMLElement) os.elementAt(i)).getAttribute(FAMILY); boolean match = false; if (family.equals("windows")) { ... | public boolean itemRequiredForOs(Vector os) { if (os.size() == 0) { return true; } for (int i = 0; i < os.size(); i++) { String family = ((XMLElement) os.elementAt(i)).getAttribute(FAMILY); boolean match = false; if (family.equals("windows")) { ... | 3,239,995 |
private boolean readRuleField(Object[] field) { RuleInputField ruleField = null; String variable = null; try { ruleField = (RuleInputField) field[POS_FIELD]; variable = (String) field[POS_VARIABLE]; } catch (Throwable exception) { ... | private boolean readRuleField(Object[] field) { RuleInputField ruleField = null; String variable = null; try { ruleField = (RuleInputField) field[POS_FIELD]; variable = (String) field[POS_VARIABLE]; } catch (Throwable exception) { ... | 3,239,996 |
public UserInputPanelAutomationHelper(Map entries) { this.entries = entries; } | public UserInputPanelAutomationHelper () { this.entries = entries; } | 3,239,997 |
public UserInputPanelAutomationHelper(Map entries) { this.entries = entries; } | public UserInputPanelAutomationHelper(Map entries) { this.entries = null; } | 3,239,998 |
public void emitError (String title, String message) { JOptionPane.showMessageDialog(this, message, title, JOptionPane.ERROR_MESSAGE); } | public void emitError(String title, String message) { JOptionPane.showMessageDialog(this, message, title, JOptionPane.ERROR_MESSAGE); } | 3,239,999 |
public void emitError (String title, String message) { JOptionPane.showMessageDialog(this, message, title, JOptionPane.ERROR_MESSAGE); } | public void emitError (String title, String message) { JOptionPane.showMessageDialog( this, message, title, JOptionPane.ERROR_MESSAGE); } | 3,240,000 |
public synchronized void returnObject(Object obj) throws Exception { assertOpen(); boolean success = true; if(!(_factory.validateObject(obj))) { success = false; } else { try { _factory.passivateObject(obj); } catch(Exception e) { ... | public synchronized void returnObject(Object obj) throws Exception { assertOpen(); boolean success = true; if(!(_factory.validateObject(obj))) { success = false; } else { try { _factory.passivateObject(obj); } catch(Exception e) { ... | 3,240,004 |
public void actionPerformed(ActionEvent e) { Object source = e.getSource(); if (source == prevButton) { if ((installdata.curPanelNumber > 0)) { installdata.curPanelNumber--; switchPanel(installdata.curPanelNumber + 1); } } else if (source == ... | public void actionPerformed(ActionEvent e) { Object source = e.getSource(); if (source == prevButton) { if ((installdata.curPanelNumber > 0)) { installdata.curPanelNumber--; switchPanel(installdata.curPanelNumber + 1); } } else if (source == ... | 3,240,006 |
public void actionPerformed(ActionEvent e) { Object source = e.getSource(); if (source == prevButton) { if ((installdata.curPanelNumber > 0)) { installdata.curPanelNumber--; switchPanel(installdata.curPanelNumber + 1); } } else if (source == ... | public void actionPerformed(ActionEvent e) { Object source = e.getSource(); if (source == prevButton) { if ((installdata.curPanelNumber > 0)) { installdata.curPanelNumber--; switchPanel(installdata.curPanelNumber + 1); } } else if (source == ... | 3,240,007 |
public void actionPerformed(ActionEvent e) { Object source = e.getSource(); if (source == prevButton) { if ((installdata.curPanelNumber > 0)) { installdata.curPanelNumber--; switchPanel(installdata.curPanelNumber + 1); } } else if (source == ... | public void actionPerformed(ActionEvent e) { Object source = e.getSource(); if (source == prevButton) { if ((installdata.curPanelNumber > 0)) { installdata.curPanelNumber--; switchPanel(installdata.curPanelNumber + 1); } } else if (source == ... | 3,240,008 |
public void windowClosing(WindowEvent e) { // We show an alert anyway if (!installdata.canClose) JOptionPane.showMessageDialog(null, langpack.getString("installer.quit.message"), langpack.getString("installer.warning"), JOptionPane.ERROR_MESSAGE); wipeAborted(); House... | public void windowClosing(WindowEvent e) { // We show an alert anyway if (!installdata.canClose) JOptionPane.showMessageDialog( null, langpack.getString("installer.quit.message"), langpack.getString("installer.warning"), JOptionPane.ERROR_MESSAGE); wipeAborted(); Hous... | 3,240,009 |
public InstallerFrame(String title, InstallData installdata) throws Exception { super(title); this.installdata = installdata; this.langpack = installdata.langpack; // Sets the window events handler addWindowListener(new WindowHandler()); // Builds the GUI loadIcons(); loadPanels(); bui... | public InstallerFrame(String title, InstallData installdata) throws Exception { super(title); this.installdata = installdata; this.langpack = installdata.langpack; // Sets the window events handler addWindowListener(new WindowHandler()); // Builds the GUI loadIcons(); loadPanels(); bui... | 3,240,010 |
public void buildConstraints(GridBagConstraints gbc, int gx, int gy, int gw, int gh, double wx, double wy) { gbc.gridx = gx; gbc.gridy = gy; gbc.gridwidth = gw; gbc.gridheight = gh; gbc.weightx = wx; gbc.weighty = wy; } | public void buildConstraints(GridBagConstraints gbc, int gx, int gy, int gw, int gh, double wx, double wy) { gbc.gridx = gx; gbc.gridy = gy; gbc.gridwidth = gw; gbc.gridheight = gh; gbc.weightx = wx; gbc.weighty = wy; } | 3,240,011 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | 3,240,012 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | 3,240,013 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | 3,240,014 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | 3,240,015 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | 3,240,016 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | 3,240,017 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | 3,240,018 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | privatevoidbuildGUI(){//SetstheframeiconsetIconImage(icons.getImageIcon("JFrameIcon").getImage());//PreparestheglasspanetoblocktheguiinteractionwhenneededJPanelglassPane=(JPanel)getGlassPane();glassPane.addMouseListener(newMouseAdapter(){});glassPane.addMouseMotionListener(newMouseMotionAdapter(){});glassPane.addKeyLis... | 3,240,019 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | 3,240,020 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | 3,240,021 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | 3,240,022 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | 3,240,023 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | 3,240,024 |
private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | private void buildGUI() { // Sets the frame icon setIconImage(icons.getImageIcon("JFrameIcon").getImage()); // Prepares the glass pane to block the gui interaction when needed JPanel glassPane = (JPanel) getGlassPane(); glassPane.addMouseListener( new MouseAdapter() { }); glassPane.a... | 3,240,025 |
public void centerFrame(Window frame) { Dimension frameSize = frame.getSize(); Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2 - 10); } | public void centerFrame(Window frame) { Dimension frameSize = frame.getSize(); Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); frame.setLocation( (screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2 - 10); } | 3,240,026 |
public void exit() { if (installdata.canClose) { // Everything went well if (installdata.info.getWriteUninstaller()) writeUninstallData(); Housekeeper.getInstance().shutDown(0); } else { // The installation is not over int res = JOptionPane.showConfirmDialog(this, ... | public void exit() { if (installdata.canClose) { // Everything went well if (installdata.info.getWriteUninstaller()) writeUninstallData(); Housekeeper.getInstance().shutDown(0); } else { // The installation is not over int res = JOptionPane.showConfirmDialog(this, ... | 3,240,027 |
public void exit() { if (installdata.canClose) { // Everything went well if (installdata.info.getWriteUninstaller()) writeUninstallData(); Housekeeper.getInstance().shutDown(0); } else { // The installation is not over int res = JOptionPane.showConfirmDialog(this, ... | public void exit() { if (installdata.canClose) { // Everything went well if (installdata.info.getWriteUninstaller()) writeUninstallData(); Housekeeper.getInstance().shutDown(0); } else { // The installation is not over int res = JOptionPane.showConfirmDialog(this, ... | 3,240,028 |
public InputStream getResource(String res) { try { //System.out.println ("retrieving resource " + res); return ResourceManager.getInstance().getInputStream (res); } catch (ResourceNotFoundException e) { return null; } } | public InputStream getResource(String res) { try { //System.out.println ("retrieving resource " + res); return ResourceManager.getInstance().getInputStream (res); } catch (ResourceNotFoundException e) { return null; } } | 3,240,029 |
private void loadIcons() throws Exception { // Initialisations icons = new IconsDatabase(); URL url; ImageIcon img; XMLElement icon; InputStream inXML = getClass().getResourceAsStream("/com/izforge/izpack/installer/icons.xml"); // Initialises the parser StdXMLParser parser = new StdXMLParser(... | private void loadIcons() throws Exception { // Initialisations icons = new IconsDatabase(); URL url; ImageIcon img; XMLElement icon; InputStream inXML = getClass().getResourceAsStream("/com/izforge/izpack/installer/icons.xml"); // Initialises the parser StdXMLParser parser = new StdXMLParser(... | 3,240,030 |
private void loadIcons() throws Exception { // Initialisations icons = new IconsDatabase(); URL url; ImageIcon img; XMLElement icon; InputStream inXML = getClass().getResourceAsStream("/com/izforge/izpack/installer/icons.xml"); // Initialises the parser StdXMLParser parser = new StdXMLParser(... | private void loadIcons() throws Exception { // Initialisations icons = new IconsDatabase(); URL url; ImageIcon img; XMLElement icon; InputStream inXML = getClass().getResourceAsStream("/com/izforge/izpack/installer/icons.xml"); // Initialises the parser StdXMLParser parser = new StdXMLParser(... | 3,240,031 |
private void loadIcons() throws Exception { // Initialisations icons = new IconsDatabase(); URL url; ImageIcon img; XMLElement icon; InputStream inXML = getClass().getResourceAsStream("/com/izforge/izpack/installer/icons.xml"); // Initialises the parser StdXMLParser parser = new StdXMLParser(... | private void loadIcons() throws Exception { // Initialisations icons = new IconsDatabase(); URL url; ImageIcon img; XMLElement icon; InputStream inXML = getClass().getResourceAsStream("/com/izforge/izpack/installer/icons.xml"); // Initialises the parser StdXMLParser parser = new StdXMLParser(... | 3,240,032 |
private void loadPanels() throws Exception { // Initialisation java.util.List panelsOrder = installdata.panelsOrder; int i; int size = panelsOrder.size(); String className; Class objectClass; Constructor constructor; Object object; IzPanel panel; Class[] paramsClasses = new Class[2]; ... | private void loadPanels() throws Exception { // Initialisation java.util.List panelsOrder = installdata.panelsOrder; int i; int size = panelsOrder.size(); String className; Class objectClass; Constructor constructor; Object object; IzPanel panel; Class[] paramsClasses = new Class[2]; ... | 3,240,033 |
private void loadPanels() throws Exception { // Initialisation java.util.List panelsOrder = installdata.panelsOrder; int i; int size = panelsOrder.size(); String className; Class objectClass; Constructor constructor; Object object; IzPanel panel; Class[] paramsClasses = new Class[2]; ... | private void loadPanels() throws Exception { // Initialisation java.util.List panelsOrder = installdata.panelsOrder; int i; int size = panelsOrder.size(); String className; Class objectClass; Constructor constructor; Object object; IzPanel panel; Class[] paramsClasses = new Class[2]; ... | 3,240,034 |
private void loadPanels() throws Exception { // Initialisation java.util.List panelsOrder = installdata.panelsOrder; int i; int size = panelsOrder.size(); String className; Class objectClass; Constructor constructor; Object object; IzPanel panel; Class[] paramsClasses = new Class[2]; ... | private void loadPanels() throws Exception { // Initialisation java.util.List panelsOrder = installdata.panelsOrder; int i; int size = panelsOrder.size(); String className; Class objectClass; Constructor constructor; Object object; IzPanel panel; Class[] paramsClasses = new Class[2]; ... | 3,240,035 |
protected void switchPanel(int last) { panelsContainer.setVisible(false); IzPanel panel = (IzPanel) installdata.panels.get(installdata.curPanelNumber); IzPanel l_panel = (IzPanel) installdata.panels.get(last); l_panel.makeXMLData(installdata.xmlData.getChildAtIndex(last)); panelsContainer.remove(l_pan... | protected void switchPanel(int last) { panelsContainer.setVisible(false); IzPanel panel = (IzPanel) installdata.panels.get(installdata.curPanelNumber); IzPanel l_panel = (IzPanel) installdata.panels.get(last); l_panel.makeXMLData(installdata.xmlData.getChildAtIndex(last)); panelsContainer.remove(l_pan... | 3,240,036 |
protected void switchPanel(int last) { panelsContainer.setVisible(false); IzPanel panel = (IzPanel) installdata.panels.get(installdata.curPanelNumber); IzPanel l_panel = (IzPanel) installdata.panels.get(last); l_panel.makeXMLData(installdata.xmlData.getChildAtIndex(last)); panelsContainer.remove(l_pan... | protected void switchPanel(int last) { panelsContainer.setVisible(false); IzPanel panel = (IzPanel) installdata.panels.get(installdata.curPanelNumber); IzPanel l_panel = (IzPanel) installdata.panels.get(last); l_panel.makeXMLData(installdata.xmlData.getChildAtIndex(last)); panelsContainer.remove(l_pan... | 3,240,037 |
protected void switchPanel(int last) { panelsContainer.setVisible(false); IzPanel panel = (IzPanel) installdata.panels.get(installdata.curPanelNumber); IzPanel l_panel = (IzPanel) installdata.panels.get(last); l_panel.makeXMLData(installdata.xmlData.getChildAtIndex(last)); panelsContainer.remove(l_pan... | protected void switchPanel(int last) { panelsContainer.setVisible(false); IzPanel panel = (IzPanel) installdata.panels.get(installdata.curPanelNumber); IzPanel l_panel = (IzPanel) installdata.panels.get(last); l_panel.makeXMLData(installdata.xmlData.getChildAtIndex(last)); panelsContainer.remove(l_pan... | 3,240,038 |
protected void wipeAborted() { Iterator it; // We check for running unpackers ArrayList unpackers = Unpacker.getRunningInstances(); it = unpackers.iterator(); while (it.hasNext()) { Thread t = (Thread) it.next(); t.interrupt(); // The unpacker process might keep writing stuffs so we ... | protected void wipeAborted() { Iterator it; // We check for running unpackers ArrayList unpackers = Unpacker.getRunningInstances(); it = unpackers.iterator(); while (it.hasNext()) { Thread t = (Thread) it.next(); t.interrupt(); // The unpacker process might keep writing stuffs so we ... | 3,240,039 |
private void writeUninstallData() { try { // We get the data UninstallData udata = UninstallData.getInstance(); List files = udata.getFilesList(); ZipOutputStream outJar = installdata.uninstallOutJar; if (outJar == null) return; // We write the files log outJar.putNextE... | private void writeUninstallData() { try { // We get the data UninstallData udata = UninstallData.getInstance(); List files = udata.getFilesList(); ZipOutputStream outJar = installdata.uninstallOutJar; if (outJar == null) return; // We write the files log outJar.putNextE... | 3,240,040 |
private void writeUninstallData() { try { // We get the data UninstallData udata = UninstallData.getInstance(); List files = udata.getFilesList(); ZipOutputStream outJar = installdata.uninstallOutJar; if (outJar == null) return; // We write the files log outJar.putNextE... | private void writeUninstallData() { try { // We get the data UninstallData udata = UninstallData.getInstance(); List files = udata.getFilesList(); ZipOutputStream outJar = installdata.uninstallOutJar; if (outJar == null) return; // We write the files log outJar.putNextE... | 3,240,041 |
private void writeUninstallData() { try { // We get the data UninstallData udata = UninstallData.getInstance(); List files = udata.getFilesList(); ZipOutputStream outJar = installdata.uninstallOutJar; if (outJar == null) return; // We write the files log outJar.putNextE... | private void writeUninstallData() { try { // We get the data UninstallData udata = UninstallData.getInstance(); List files = udata.getFilesList(); ZipOutputStream outJar = installdata.uninstallOutJar; if (outJar == null) return; // We write the files log outJar.putNextE... | 3,240,042 |
private void writeUninstallData() { try { // We get the data UninstallData udata = UninstallData.getInstance(); List files = udata.getFilesList(); ZipOutputStream outJar = installdata.uninstallOutJar; if (outJar == null) return; // We write the files log outJar.putNextE... | private void writeUninstallData() { try { // We get the data UninstallData udata = UninstallData.getInstance(); List files = udata.getFilesList(); ZipOutputStream outJar = installdata.uninstallOutJar; if (outJar == null) return; // We write the files log outJar.putNextE... | 3,240,043 |
public void panelActivate() { // get compilers again (because they might contain variables from former // panels) Iterator it = this.worker.getAvailableCompilers().iterator(); compilerComboBox.removeAllItems(); while (it.hasNext()) compilerComboBox.addItem((String) i... | public void panelActivate() { // get compilers again (because they might contain variables from former // panels) Iterator it = this.worker.getAvailableCompilers().iterator(); compilerComboBox.removeAllItems(); while (it.hasNext()) compilerComboBox.addItem((String) i... | 3,240,044 |
public void run() { CursorableLinkedList.Cursor objcursor = null; CursorableLinkedList.Cursor keycursor = null; Object key = null; while(!_cancelled) { long sleeptime = 0L; synchronized(GenericKeyedObjectPool.this) { sl... | public void run() { CursorableLinkedList.Cursor objcursor = null; CursorableLinkedList.Cursor keycursor = null; Object key = null; while(!_cancelled) { long sleeptime = 0L; synchronized(GenericKeyedObjectPool.this) { sl... | 3,240,046 |
private void doSudoCmd() { String pass = passwordField.getText(); File file = null; try { // write file in /tmp file = new File("/tmp/cmd_sudo.sh");// ""c:/temp/run.bat"" FileOutputStream fos = new FileOutputStream(file); fos.write("echo $pa... | private void doSudoCmd() { String pass = passwordField.getText(); File file = null; try { // write file in /tmp file = new File("/tmp/cmd_sudo.sh");// ""c:/temp/run.bat"" FileOutputStream fos = new FileOutputStream(file); fos.write("echo $pa... | 3,240,047 |
protected boolean buildHeadline( String imageIconName, int instanceNumber ) { boolean result = false; // TODO: proteced instancenumber // TODO: is to be validated // TODO: // TODO: first Test if a Resource for your protected Instance exists. String headline; String headlineSea... | protected boolean buildHeadline( String imageIconName, int instanceNumber ) { boolean result = false; // TODO: proteced instancenumber // TODO: is to be validated // TODO: // TODO: first Test if a Resource for your protected Instance exists. String headline; String headlineSea... | 3,240,048 |
protected boolean buildHeadline( String imageIconName, int instanceNumber ) { boolean result = false; // TODO: proteced instancenumber // TODO: is to be validated // TODO: // TODO: first Test if a Resource for your protected Instance exists. String headline; String headlineSea... | protected boolean buildHeadline( String imageIconName, int instanceNumber ) { boolean result = false; // TODO: proteced instancenumber // TODO: is to be validated // TODO: // TODO: first Test if a Resource for your protected Instance exists. String headline; String headlineSea... | 3,240,049 |
protected boolean buildHeadline( String imageIconName, int instanceNumber ) { boolean result = false; // TODO: proteced instancenumber // TODO: is to be validated // TODO: // TODO: first Test if a Resource for your protected Instance exists. String headline; String headlineSea... | protected boolean buildHeadline( String imageIconName, int instanceNumber ) { boolean result = false; // TODO: proteced instancenumber // TODO: is to be validated // TODO: // TODO: first Test if a Resource for your protected Instance exists. String headline; String headlineSea... | 3,240,050 |
protected boolean buildHeadline( String imageIconName, int instanceNumber ) { boolean result = false; // TODO: proteced instancenumber // TODO: is to be validated // TODO: // TODO: first Test if a Resource for your protected Instance exists. String headline; String headlineSea... | if( Debug.isLOG() ) { System.out.println( "found headline: " + instanceHeadline + d + " for instance # " + instanceNumber ); } if( Debug.isLOG() ) { System.out.println( "found headline: " + instanceHeadline + d + " for instance # " + instanceNumber ); } if( Debug.isLOG() ) { System.out.println( "found headline: "... | 3,240,051 |
protected boolean buildHeadline( String imageIconName, int instanceNumber ) { boolean result = false; // TODO: proteced instancenumber // TODO: is to be validated // TODO: // TODO: first Test if a Resource for your protected Instance exists. String headline; String headlineSea... | protected boolean buildHeadline( String imageIconName, int instanceNumber ) { boolean result = false; // TODO: proteced instancenumber // TODO: is to be validated // TODO: // TODO: first Test if a Resource for your protected Instance exists. String headline; String headlineSea... | 3,240,052 |
protected boolean buildHeadline( String imageIconName, int instanceNumber ) { boolean result = false; // TODO: proteced instancenumber // TODO: is to be validated // TODO: // TODO: first Test if a Resource for your protected Instance exists. String headline; String headlineSea... | protected boolean buildHeadline( String imageIconName, int instanceNumber ) { boolean result = false; // TODO: proteced instancenumber // TODO: is to be validated // TODO: // TODO: first Test if a Resource for your protected Instance exists. String headline; String headlineSea... | 3,240,053 |
protected boolean buildHeadline( String imageIconName, int instanceNumber ) { boolean result = false; // TODO: proteced instancenumber // TODO: is to be validated // TODO: // TODO: first Test if a Resource for your protected Instance exists. String headline; String headlineSea... | protected boolean buildHeadline( String imageIconName, int instanceNumber ) { boolean result = false; // TODO: proteced instancenumber // TODO: is to be validated // TODO: // TODO: first Test if a Resource for your protected Instance exists. String headline; String headlineSea... | 3,240,054 |
protected void addPanels(XMLElement data) throws CompilerException { notifyCompilerListener("addPanels", CompilerListener.BEGIN, data); XMLElement root = requireChildNamed(data, "panels"); // at least one panel is required Vector panels = root.getChildrenNamed("panel"); if (panels.isEmpty()) pars... | protected void addPanels(XMLElement data) throws CompilerException { notifyCompilerListener("addPanels", CompilerListener.BEGIN, data); XMLElement root = requireChildNamed(data, "panels"); // at least one panel is required Vector panels = root.getChildrenNamed("panel"); if (panels.isEmpty()) pars... | 3,240,055 |
protected void addPanels(XMLElement data) throws CompilerException { notifyCompilerListener("addPanels", CompilerListener.BEGIN, data); XMLElement root = requireChildNamed(data, "panels"); // at least one panel is required Vector panels = root.getChildrenNamed("panel"); if (panels.isEmpty()) pars... | protected void addPanels(XMLElement data) throws CompilerException { notifyCompilerListener("addPanels", CompilerListener.BEGIN, data); XMLElement root = requireChildNamed(data, "panels"); // at least one panel is required Vector panels = root.getChildrenNamed("panel"); if (panels.isEmpty()) pars... | 3,240,056 |
protected void addPanels(XMLElement data) throws CompilerException { notifyCompilerListener("addPanels", CompilerListener.BEGIN, data); XMLElement root = requireChildNamed(data, "panels"); // at least one panel is required Vector panels = root.getChildrenNamed("panel"); if (panels.isEmpty()) pars... | String fullClassName = null; try { fullClassName = getFullClassName(url, className); } catch (Exception e) { ; } if( fullClassName != null) panel.className = fullClassName; else panel.className = className; String fullClassName = null; try { fullClassName = getFullClassName(url, className); } catch (Exception e) { ; } ... | 3,240,057 |
private String getFullClassName(URL url, String className) throws Exception { JarInputStream jis = new JarInputStream(url.openStream()); ZipEntry zentry = null; String fullName = null; while ( (zentry = jis.getNextEntry()) != null) { String name = zentry.getName(); int lastPos = name.las... | private String getFullClassName(URL url, String className) throws Exception { JarInputStream jis = new JarInputStream(url.openStream()); ZipEntry zentry = null; String fullName = null; while ( (zentry = jis.getNextEntry()) != null) { String name = zentry.getName(); int lastPos = name.las... | 3,240,058 |
private void buildGUI(IconManager im) { getContentPane().setLayout(new BorderLayout(0, 0)); TitlePanel tp = new TitlePanel("Import Image", "Import new images in an existing dataset.", NOTE, im.getIcon(IconManager.IMPORT_IMAGE_BIG)); getContentPane().add(tp, BorderLayout.NORTH); getContentPane()... | private void buildGUI(IconManager im) { getContentPane().setLayout(new BorderLayout(0, 0)); TitlePanel tp = new TitlePanel("Import Image", "Import new images in an existing dataset.", NOTE, im.getIcon(IconManager.IMPORT_IMAGE_BIG)); getContentPane().add(tp, BorderLayout.NORTH); getContentPane()... | 3,240,060 |
public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Insets(0, 0, 0, 0); gbConstra... | public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Insets(0, 0, 0, 0); gbConstra... | 3,240,061 |
public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Insets(0, 0, 0, 0); gbConstra... | public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Insets(0, 0, 0, 0); gbConstra... | 3,240,062 |
public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Insets(0, 0, 0, 0); gbConstra... | public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Insets(0, 0, 0, 0); gbConstra... | 3,240,063 |
public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Insets(0, 0, 0, 0); gbConstra... | public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Insets(0, 0, 0, 0); gbConstra... | 3,240,064 |
public Object getValue(String key, String value) throws NativeLibException { return (null); } | public Object getValue(String key, String value, Object defaultVal) throws NativeLibException { return (null); } | 3,240,065 |
public void emitNotification (String message) { // ignore it } | public void emitNotification(String message) { // ignore it } | 3,240,066 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.