bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public static void main( String args[] ) { JFrame frame = new JFrame( "PhotoInfoEditorTest" ); PhotoViewer viewer = new PhotoViewer(); frame.getContentPane().add( viewer, BorderLayout.CENTER ); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } } );... | public static void main( String args[] ) { JFrame frame = new JFrame( "PhotoInfoEditorTest" ); PhotoViewer viewer = new PhotoViewer(); frame.getContentPane().add( viewer, BorderLayout.CENTER ); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } } );... | 1,111,041 |
void setScale( float scale ) { imageView.setScale(scale); } | public void setScale( float scale ) { imageView.setScale(scale); } | 1,111,042 |
protected TagScript createStaticTag( String namespaceURI, String localName, Attributes list ) throws SAXException { try { StaticTag tag = new StaticTag( namespaceURI, localName ); DynaTagScript script = new DynaTagScript( tag ); // now iterate thro... | protected TagScript createStaticTag( String namespaceURI, String localName, String qName, Attributes list ) throws SAXException { try { StaticTag tag = new StaticTag( namespaceURI, localName ); DynaTagScript script = new DynaTagScript( tag ); // no... | 1,111,043 |
protected TagScript createStaticTag( String namespaceURI, String localName, Attributes list ) throws SAXException { try { StaticTag tag = new StaticTag( namespaceURI, localName ); DynaTagScript script = new DynaTagScript( tag ); // now iterate thro... | protected TagScript createStaticTag( String namespaceURI, String localName, Attributes list ) throws SAXException { try { StaticTag tag = new StaticTag( namespaceURI, localName, qName ); DynaTagScript script = new DynaTagScript( tag ); // now itera... | 1,111,044 |
public void startElement( String namespaceURI, String localName, String qName, Attributes list ) throws SAXException { // if this is a tag then create a script to run it // otherwise pass the text to the current body tagScript = createTag( namespaceURI, localName, list ); ... | public void startElement( String namespaceURI, String localName, String qName, Attributes list ) throws SAXException { // if this is a tag then create a script to run it // otherwise pass the text to the current body tagScript = createTag( namespaceURI, localName, list ); ... | 1,111,045 |
public void run(JellyContext context, XMLOutput output) throws JellyTagException { try { startNamespacePrefixes(output); } catch (SAXException e) { throw new JellyTagException("could not start namespace prefixes",e); } Tag tag = null; try { tag = g... | public void run(JellyContext context, XMLOutput output) throws JellyTagException { try { startNamespacePrefixes(output); } catch (SAXException e) { throw new JellyTagException("could not start namespace prefixes",e); } Tag tag; try { tag = getTag(c... | 1,111,046 |
public void run(JellyContext context, XMLOutput output) throws JellyTagException { try { startNamespacePrefixes(output); } catch (SAXException e) { throw new JellyTagException("could not start namespace prefixes",e); } Tag tag = null; try { tag = g... | public void run(JellyContext context, XMLOutput output) throws JellyTagException { try { startNamespacePrefixes(output); } catch (SAXException e) { throw new JellyTagException("could not start namespace prefixes",e); } Tag tag = null; try { tag = g... | 1,111,047 |
public void run(JellyContext context, XMLOutput output) throws JellyTagException { try { startNamespacePrefixes(output); } catch (SAXException e) { throw new JellyTagException("could not start namespace prefixes",e); } Tag tag = null; try { tag = g... | public void run(JellyContext context, XMLOutput output) throws JellyTagException { try { startNamespacePrefixes(output); } catch (SAXException e) { throw new JellyTagException("could not start namespace prefixes",e); } Tag tag = null; try { tag = g... | 1,111,048 |
public void testPopulateTable() throws ArchitectException { assertFalse("Table should not have been populated already", table.isPopulated()); table.populate(); assertTrue("Table should been populated", table.isPopulated()); // spot-check that expected columns exist SQLColumn yearCol, teamCol, strikeoutsCol; asse... | public void testPopulateTable() throws ArchitectException { assertFalse("Table should not have been populated already", table.isPopulated()); table.populate(); assertTrue("Table should been populated", table.isPopulated()); // spot-check that expected columns exist SQLColumn yearCol, teamCol, strikeoutsCol; asse... | 1,111,050 |
public void testPopulateTable() throws ArchitectException { assertFalse("Table should not have been populated already", table.isPopulated()); table.populate(); assertTrue("Table should been populated", table.isPopulated()); // spot-check that expected columns exist SQLColumn yearCol, teamCol, strikeoutsCol; asse... | public void testPopulateTable() throws ArchitectException { assertFalse("Table should not have been populated already", table.isPopulated()); table.populate(); assertTrue("Table should been populated", table.isPopulated()); // spot-check that expected columns exist SQLColumn yearCol, teamCol, strikeoutsCol; asse... | 1,111,051 |
public String getRole() { return role; } | public String[] getRole() { return role; } | 1,111,053 |
public void setRole(String role) { this.role = role; } | public void setRole(String[] role) { this.role = role; } | 1,111,054 |
public void run(JellyContext context, XMLOutput output) throws JellyTagException { try { startNamespacePrefixes(output); } catch (SAXException e) { throw new JellyTagException("could not start namespace prefixes",e); } Tag tag = null; try { ... | public void run(JellyContext context, XMLOutput output) throws JellyTagException { try { startNamespacePrefixes(output); } catch (SAXException e) { throw new JellyTagException("could not start namespace prefixes",e); } Tag tag = null; try { ... | 1,111,055 |
generateAbstractClass(Class<S> storableClass, boolean isMaster) throws SupportException { EnumSet<MasterFeature> features; if (isMaster) { features = EnumSet.of(MasterFeature.VERSIONING, MasterFeature.UPDATE_FULL, ... | generateAbstractClass(Class<S> storableClass, boolean isMaster) throws SupportException { EnumSet<MasterFeature> features; if (isMaster) { features = EnumSet.of(MasterFeature.VERSIONING, MasterFeature.UPDATE_FULL, ... | 1,111,056 |
public void paintComponent(Graphics graphics) { if (filteredHaplos == null){ super.paintComponent(graphics); return; } Graphics2D g = (Graphics2D) graphics; g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); ... | public void paintComponent(Graphics graphics) { if (filteredHaplos == null){ super.paintComponent(graphics); return; } Graphics2D g = (Graphics2D) graphics; g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); ... | 1,111,058 |
private List<Set<ChainedProperty<S>>> getKeys() { StorableInfo<S> info = StorableIntrospector.examine(mIndexAnalyzer.getStorableType()); List<Set<ChainedProperty<S>>> keys = new ArrayList<Set<ChainedProperty<S>>>(); keys.add(stripOrdering(info.getPrimaryKey().getProperties())); for (Stor... | private List<Set<ChainedProperty<S>>> getKeys() throws SupportException, RepositoryException { StorableInfo<S> info = StorableIntrospector.examine(mIndexAnalyzer.getStorableType()); List<Set<ChainedProperty<S>>> keys = new ArrayList<Set<ChainedProperty<S>>>(); keys.add(stripOrdering(info.getPri... | 1,111,060 |
public void insertUpdate( DocumentEvent ev ) { Document changedDoc = ev.getDocument(); String changedField = null; Object newValue = null; if ( changedDoc == photographerDoc ) { changedField = PhotoInfoController.PHOTOGRAPHER; newValue = photographerField.getText(); System.err.println( "New photographer... | public void insertUpdate( DocumentEvent ev ) { Document changedDoc = ev.getDocument(); String changedField = null; Object newValue = null; if ( changedDoc == photographerDoc ) { changedField = PhotoInfoController.PHOTOGRAPHER; newValue = photographerField.getText(); System.err.println( "New photographer... | 1,111,066 |
public void format(OutputStream nout, List<ProfileResult> profileResult, ProfileManager pm) throws Exception { PrintWriter out = new PrintWriter(nout); // Print a header out.println(CSVExport.toString(Arrays.asList(ProfileColumn.values()))); DateFor... | public void format(OutputStream nout, List<ProfileResult> profileResult, ProfileManager pm) throws Exception { PrintWriter out = new PrintWriter(nout); // Print a header ProfileColumn[] columns = ProfileColumn.values(); out.println(CSVExport.toString(Array... | 1,111,069 |
public void format(OutputStream nout, List<ProfileResult> profileResult, ProfileManager pm) throws Exception { PrintWriter out = new PrintWriter(nout); // Print a header out.println(CSVExport.toString(Arrays.asList(ProfileColumn.values()))); DateFor... | public void format(OutputStream nout, List<ProfileResult> profileResult, ProfileManager pm) throws Exception { PrintWriter out = new PrintWriter(nout); // Print a header out.println(CSVExport.toString(Arrays.asList(ProfileColumn.values()))); DateFor... | 1,111,071 |
public void testIdentityAndRangeMatch() throws Exception { // These tests are not as exhaustive, as I don't expect the combination // of identity and ranges to interfere with each other. StorableIndex<StorableTestBasic> index; Filter<StorableTestBasic> filter; FilterValues<Storabl... | public void testIdentityAndRangeMatch() throws Exception { // These tests are not as exhaustive, as I don't expect the combination // of identity and ranges to interfere with each other. StorableIndex<StorableTestBasic> index; Filter<StorableTestBasic> filter; FilterValues<Storabl... | 1,111,073 |
public void export(List<SQLTable> tablesToExport) throws SQLException, ArchitectException { logger.debug("Starting export of tables: "+tablesToExport); finished = false; hasStarted = true; Connection con = null; try { currentDB = tablesToExport; // first, set... | public void export(List<SQLTable> tablesToExport) throws SQLException, ArchitectException { logger.debug("Starting export of tables: "+tablesToExport); finished = false; hasStarted = true; Connection con = null; Connection tCon = null; try { currentDB = tablesToExport; ... | 1,111,074 |
public void export(List<SQLTable> tablesToExport) throws SQLException, ArchitectException { logger.debug("Starting export of tables: "+tablesToExport); finished = false; hasStarted = true; Connection con = null; try { currentDB = tablesToExport; // first, set... | public void export(List<SQLTable> tablesToExport) throws SQLException, ArchitectException { logger.debug("Starting export of tables: "+tablesToExport); finished = false; hasStarted = true; Connection con = null; try { currentDB = tablesToExport; // first, set... | 1,111,075 |
public void export(List<SQLTable> tablesToExport) throws SQLException, ArchitectException { logger.debug("Starting export of tables: "+tablesToExport); finished = false; hasStarted = true; Connection con = null; try { currentDB = tablesToExport; // first, set... | public void export(List<SQLTable> tablesToExport) throws SQLException, ArchitectException { logger.debug("Starting export of tables: "+tablesToExport); finished = false; hasStarted = true; Connection con = null; try { currentDB = tablesToExport; // first, set... | 1,111,076 |
public void export(List<SQLTable> tablesToExport) throws SQLException, ArchitectException { logger.debug("Starting export of tables: "+tablesToExport); finished = false; hasStarted = true; Connection con = null; try { currentDB = tablesToExport; // first, set... | public void export(List<SQLTable> tablesToExport) throws SQLException, ArchitectException { logger.debug("Starting export of tables: "+tablesToExport); finished = false; hasStarted = true; Connection con = null; try { currentDB = tablesToExport; // first, set... | 1,111,077 |
public void export(List<SQLTable> tablesToExport) throws SQLException, ArchitectException { logger.debug("Starting export of tables: "+tablesToExport); finished = false; hasStarted = true; Connection con = null; try { currentDB = tablesToExport; // first, set... | public void export(List<SQLTable> tablesToExport) throws SQLException, ArchitectException { logger.debug("Starting export of tables: "+tablesToExport); finished = false; hasStarted = true; Connection con = null; try { currentDB = tablesToExport; // first, set... | 1,111,078 |
public void export(List<SQLTable> tablesToExport) throws SQLException, ArchitectException { logger.debug("Starting export of tables: "+tablesToExport); finished = false; hasStarted = true; Connection con = null; try { currentDB = tablesToExport; // first, set... | public void export(List<SQLTable> tablesToExport) throws SQLException, ArchitectException { logger.debug("Starting export of tables: "+tablesToExport); finished = false; hasStarted = true; Connection con = null; try { currentDB = tablesToExport; // first, set... | 1,111,079 |
public void insertJobDetail(Connection con, int seqNo, String objectType, String objectName) throws SQLException { String status = "Unknown"; StringBuffer sql = new StringBuffer("INSERT INTO "); sql.append(DDLUtils.toQualifiedName(repositoryCatalog, repositorySchema, "JOB_DETAIL")); sql ... | public void insertJobDetail(Connection con, int seqNo, String objectType, String objectName) throws SQLException { String status = "Unknown"; StringBuffer sql = new StringBuffer("INSERT INTO "); sql.append(DDLUtils.toQualifiedName(repositoryCatalog, repositorySchema, "JOB_DETAIL")); sql ... | 1,111,080 |
public Expression createExpression( ExpressionFactory factory, String tagName, String attributeName, String attributeValue) throws Exception { ExpressionFactory myFactory = getExpressionFactory(); if (myFactory == null) { myFactory = factory; } ... | public Expression createExpression( ExpressionFactory factory, TagScript tagScript, String attributeName, String attributeValue) throws Exception { ExpressionFactory myFactory = getExpressionFactory(); if (myFactory == null) { myFactory = factory; }... | 1,111,081 |
public void setUp() { String volumeRoot = "c:\\temp\\photoVaultVolumeTest"; volume = new Volume( "testVolume", volumeRoot ); PhotovaultSettings settings = PhotovaultSettings.getSettings(); db = settings.getCurrentDatabase(); db.addVolume( volume ); } | public void setUp() { String volumeRoot = "c:\\temp\\photoVaultVolumeTest"; volume = new Volume( "testVolume", volumeRoot ); PhotovaultSettings settings = PhotovaultSettings.getSettings(); db = settings.getCurrentDatabase(); try { db.addVolume( volume ); } catch (PhotovaultException ex) { ex.p... | 1,111,082 |
public void testGetVolumeOfFile() { try { File testVolPath = File.createTempFile( "pv_voltest", "" ); VolumeBase extVolume = new ExternalVolume( "extvol", testVolPath.getAbsolutePath() ); db.addVolume( extVolume ); File test1 = new File( volume.getBaseD... | public void testGetVolumeOfFile() { try { File testVolPath = File.createTempFile( "pv_voltest", "" ); VolumeBase extVolume = new ExternalVolume( "extvol", testVolPath.getAbsolutePath() ); try { db.addVolume( extVolume ); } catch (PhotovaultException ex) { fail( ex.getMessage(... | 1,111,083 |
public void actionPerformed(ActionEvent e) { final List<ProfileResult> objectToSave = new ArrayList<ProfileResult>(); TableModelSortDecorator tmsd = (TableModelSortDecorator) viewTable.getModel(); ProfileTableModel model = (ProfileTableModel) tmsd.getTableModel(); if ( viewTable.getSelec... | public void actionPerformed(ActionEvent e) { final List<ProfileResult> objectToSave = new ArrayList<ProfileResult>(); TableModelSortDecorator tmsd = (TableModelSortDecorator) viewTable.getModel(); ProfileTableModel model = (ProfileTableModel) tmsd.getTableModel(); if ( viewTable.getSelec... | 1,111,084 |
public void actionPerformed(ActionEvent e) { final List<ProfileResult> objectToSave = new ArrayList<ProfileResult>(); TableModelSortDecorator tmsd = (TableModelSortDecorator) viewTable.getModel(); ProfileTableModel model = (ProfileTableModel) tmsd.getTableModel(); if ( viewTable.getSelec... | public void actionPerformed(ActionEvent e) { final List<ProfileResult> objectToSave = new ArrayList<ProfileResult>(); TableModelSortDecorator tmsd = (TableModelSortDecorator) viewTable.getModel(); ProfileTableModel model = (ProfileTableModel) tmsd.getTableModel(); if ( viewTable.getSelec... | 1,111,085 |
public void actionPerformed(ActionEvent e) { final List<ProfileResult> objectToSave = new ArrayList<ProfileResult>(); TableModelSortDecorator tmsd = (TableModelSortDecorator) viewTable.getModel(); ProfileTableModel model = (ProfileTableModel) tmsd.getTableModel(); if ( viewTable.getSelec... | public void actionPerformed(ActionEvent e) { final List<ProfileResult> objectToSave = new ArrayList<ProfileResult>(); TableModelSortDecorator tmsd = (TableModelSortDecorator) viewTable.getModel(); ProfileTableModel model = (ProfileTableModel) tmsd.getTableModel(); if ( viewTable.getSelec... | 1,111,086 |
public void run() { OutputStream out = null; try { ProfileFormat prf = null; out = new BufferedOutputStream(new FileOutputStream(file2)); switch(type) { case HTML: final String en... | public void run() { OutputStream out = null; try { ProfileFormat prf = null; out = new BufferedOutputStream(new FileOutputStream(file2)); switch(type2) { case HTML: final String e... | 1,111,087 |
public void intervalRemoved(ListDataEvent e) { try { if (model.getColumns().size() == 0) { Component c = getParent(); while ( ! (c instanceof Window)) { c = c.getParent(); } c.setVisible(false); } else { editColumn(0); } } catch (ArchitectException ex) { JOptionPane.showMessageDialog(this,... | public void intervalRemoved(ListDataEvent e) { try { if (model.getColumns().size() == 0) { Component c = getParent(); while ( ! (c instanceof Window)) { c = c.getParent(); } c.setVisible(false); } else { editColumn(columns.getSelectedIndex()); } } catch (ArchitectException ex) { JOptionPan... | 1,111,089 |
public void paintComponent(Graphics g){ DPrimeTable dPrimeTable = theData.dpTable; if (Chromosome.getSize() < 2){ //if there zero or only one valid marker return; } Vector blocks = theData.blocks; Rectangle visRect = getVisibleRect(); //deal with zoomi... | public void paintComponent(Graphics g){ DPrimeTable dPrimeTable = theData.dpTable; if (Chromosome.getSize() < 2){ //if there zero or only one valid marker return; } Vector blocks = theData.blocks; Rectangle visRect = getVisibleRect(); //deal with zoomi... | 1,111,090 |
public void testFieldModification() { view1.setField( "View1" ); // Generate a bbogus event to demonstrate that this should propagate to view2 but not to view1 fieldCtrl.setValue( view1, "View2" ); assertEquals( "View2 not changed by updating view1", "View2", view2.getField() ); assertEquals( "View1 should not be c... | public void testFieldModification() { view1.setField( "View1" ); // Generate a bbogus event to demonstrate that this should propagate to view2 but not to view1 fieldCtrl.viewChanged( view1, "View2" ); assertEquals( "View2 not changed by updating view1", "View2", view2.getField() ); assertEquals( "View1 should not b... | 1,111,092 |
public final String draw(DashboardContext context) { String applicationId = context.getWebContext().getApplicationConfig().getApplicationId(); StringBuffer output = new StringBuffer(); if(event != null){ output.append("<script>"); output.append("addEventHandler(''"... | public final String draw(DashboardContext context) { String applicationId = context.getWebContext().getApplicationConfig().getApplicationId(); StringBuffer output = new StringBuffer(); if(event != null){ output.append("<script>"); output.append("addEventHandler(''"... | 1,111,093 |
public final String draw(DashboardContext context) { String applicationId = context.getWebContext().getApplicationConfig().getApplicationId(); StringBuffer output = new StringBuffer(); if(event != null){ output.append("<script>"); output.append("addEventHandler(''"... | public final String draw(DashboardContext context) { String applicationId = context.getWebContext().getApplicationConfig().getApplicationId(); StringBuffer output = new StringBuffer(); if(event != null){ output.append("<script>"); output.append("addEventHandler(''"... | 1,111,094 |
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { if (var == null) { throw new MissingAttributeException( "var" ); } if (select == null) { throw new MissingAttributeException( "select" ); } Object xpathContext = getXPat... | public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { if (var == null) { throw new MissingAttributeException( "var" ); } if (select == null) { throw new MissingAttributeException( "select" ); } Object xpathContext = getXPat... | 1,111,095 |
public void setAsString(boolean asString) { if(asString) this.single = new Boolean(asString); this.asString = new Boolean(asString); } | public void setAsString(boolean asString) { if(asString) this.single = new Boolean(asString); this.asString = new Boolean(asString); } | 1,111,096 |
public TagLibrary getTagLibrary(String namespaceURI) { Object answer = null; if ( getInherit() && getParent() != null ) { answer = getParent().getTagLibrary( namespaceURI ); } if ( answer == null ) { answer = taglibs.get(namespaceURI); ... | public TagLibrary getTagLibrary(String namespaceURI) { Object answer = taglibs.get(namespaceURI); if ( getInherit() && getParent() != null ) { answer = getParent().getTagLibrary( namespaceURI ); } if ( answer == null ) { answer = taglibs.get(... | 1,111,097 |
public TagLibrary getTagLibrary(String namespaceURI) { Object answer = null; if ( getInherit() && getParent() != null ) { answer = getParent().getTagLibrary( namespaceURI ); } if ( answer == null ) { answer = taglibs.get(namespaceURI); ... | public TagLibrary getTagLibrary(String namespaceURI) { Object answer = null; if ( getInherit() && getParent() != null ) { answer = getParent().getTagLibrary( namespaceURI ); } if ( answer == null ) { answer = taglibs.get(namespaceURI); ... | 1,111,098 |
public boolean isTagLibraryRegistered(String namespaceURI) { return taglibs.containsKey( namespaceURI ); } | public boolean isTagLibraryRegistered(String namespaceURI) { boolean answer = taglibs.containsKey( namespaceURI ); if (answer) { return true; } else if ( parent != null ) { return parent.isTagLibraryRegistered(namespaceURI); } else { return false; } } | 1,111,099 |
public void doTag(XMLOutput output) throws Exception { tagLibrary = new DynamicTagLibrary( getUri() ); context.registerTagLibrary( getUri(), tagLibrary ); getBody().run(context, output); tagLibrary = null; } | public void doTag(XMLOutput output) throws Exception { tagLibrary = new DynamicTagLibrary( getUri() ); context.registerTagLibrary( getUri(), tagLibrary ); invokeBody(output); tagLibrary = null; } | 1,111,100 |
public void run(Context context, XMLOutput output) throws Exception { if ( log.isDebugEnabled() ) { log.debug( "running with items: " + items ); } if ( items != null ) { Iterator iter = items.evaluateAsIterator( context ); if ( log.isDebugEn... | public void run(Context context, XMLOutput output) throws Exception { if ( log.isDebugEnabled() ) { log.debug( "running with items: " + items ); } if ( items != null ) { Iterator iter = items.evaluateAsIterator( context ); if ( log.isDebugEn... | 1,111,101 |
private List parse(String attributes){ List exprList = new LinkedList(); StringTokenizer tokenizer = new StringTokenizer(attributes, ","); while(tokenizer.hasMoreTokens()){ String expression = tokenizer.nextToken(); assert expression.startsWith("["); while(!expr... | private List parse(String attributes){ List exprList = new LinkedList(); StringTokenizer tokenizer = new StringTokenizer(attributes, ","); while(tokenizer.hasMoreTokens()){ String expression = tokenizer.nextToken(); assert expression.startsWith("["); while(!expr... | 1,111,102 |
public void doTag(XMLOutput xmlOutput) throws JellyTagException { if (isProxyAvailable()) { _httpClient = new HttpClient(); _httpClient.getHostConfiguration().setProxy(getProxyHost(), getProxyPort()); } else { _httpClient = new HttpClient(); } invokeBody(... | public void doTag(XMLOutput xmlOutput) throws JellyTagException { if (isProxyAvailable()) { _httpClient.getHostConfiguration().setProxy(getProxyHost(), getProxyPort()); } else { } invokeBody(xmlOutput); } | 1,111,103 |
public void doTag(XMLOutput xmlOutput) throws JellyTagException { if (isProxyAvailable()) { _httpClient = new HttpClient(); _httpClient.getHostConfiguration().setProxy(getProxyHost(), getProxyPort()); } else { _httpClient = new HttpClient(); } invokeBody(... | public void doTag(XMLOutput xmlOutput) throws JellyTagException { if (isProxyAvailable()) { _httpClient = new HttpClient(); _httpClient.getHostConfiguration().setProxy(getProxyHost(), getProxyPort()); } else { _httpClient = new HttpClient(); } invokeBody(... | 1,111,104 |
public void writeCreateDB(SQLDatabase db) { out.println("-- Would Create Database "+db.getName()+" here. --"); } | public void writeCreateDB(SQLDatabase db) { println("-- Would Create Database "+db.getName()+" here. --"); } | 1,111,105 |
protected void writeExportedRelationships(SQLTable t) throws ArchitectException { Iterator it = t.getExportedKeys().iterator(); while (it.hasNext()) { SQLRelationship rel = (SQLRelationship) it.next(); out.println(""); out.println("ALTER TABLE "+rel.getFkTable().getName() +" ADD CONSTRAINT "+rel.getName()... | protected void writeExportedRelationships(SQLTable t) throws ArchitectException { Iterator it = t.getExportedKeys().iterator(); while (it.hasNext()) { SQLRelationship rel = (SQLRelationship) it.next(); out.println(""); out.println("ALTER TABLE "+rel.getFkTable().getName() +" ADD CONSTRAINT "+rel.getName()... | 1,111,106 |
protected void writeExportedRelationships(SQLTable t) throws ArchitectException { Iterator it = t.getExportedKeys().iterator(); while (it.hasNext()) { SQLRelationship rel = (SQLRelationship) it.next(); out.println(""); out.println("ALTER TABLE "+rel.getFkTable().getName() +" ADD CONSTRAINT "+rel.getName()... | protected void writeExportedRelationships(SQLTable t) throws ArchitectException { Iterator it = t.getExportedKeys().iterator(); while (it.hasNext()) { SQLRelationship rel = (SQLRelationship) it.next(); out.println(""); out.println("ALTER TABLE "+rel.getFkTable().getName() +" ADD CONSTRAINT "+rel.getName()... | 1,111,107 |
protected void writeExportedRelationships(SQLTable t) throws ArchitectException { Iterator it = t.getExportedKeys().iterator(); while (it.hasNext()) { SQLRelationship rel = (SQLRelationship) it.next(); out.println(""); out.println("ALTER TABLE "+rel.getFkTable().getName() +" ADD CONSTRAINT "+rel.getName()... | protected void writeExportedRelationships(SQLTable t) throws ArchitectException { Iterator it = t.getExportedKeys().iterator(); while (it.hasNext()) { SQLRelationship rel = (SQLRelationship) it.next(); out.println(""); out.println("ALTER TABLE "+rel.getFkTable().getName() +" ADD CONSTRAINT "+rel.getName()... | 1,111,108 |
protected void writeExportedRelationships(SQLTable t) throws ArchitectException { Iterator it = t.getExportedKeys().iterator(); while (it.hasNext()) { SQLRelationship rel = (SQLRelationship) it.next(); out.println(""); out.println("ALTER TABLE "+rel.getFkTable().getName() +" ADD CONSTRAINT "+rel.getName()... | protected void writeExportedRelationships(SQLTable t) throws ArchitectException { Iterator it = t.getExportedKeys().iterator(); while (it.hasNext()) { SQLRelationship rel = (SQLRelationship) it.next(); println(""); out.println("ALTER TABLE "+rel.getFkTable().getName() +" ADD CONSTRAINT "+rel.getName()); ... | 1,111,109 |
public void writeHeader() { out.println("-- Created by SQLPower Generic DDL Generator "+GENERATOR_VERSION+" --"); } | public void writeHeader() { println("-- Created by SQLPower Generic DDL Generator "+GENERATOR_VERSION+" --"); } | 1,111,110 |
protected void writePrimaryKey(SQLTable t) throws ArchitectException { boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn col = (SQLColumn) it.next(); if (col.getPrimaryKeySeq() == null) break; if (firstCol) { out.println(""); out.println("ALTER TABLE "+t.... | protected void writePrimaryKey(SQLTable t) throws ArchitectException { boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn col = (SQLColumn) it.next(); if (col.getPrimaryKeySeq() == null) break; if (firstCol) { out.println(""); out.println("ALTER TABLE "+t.... | 1,111,111 |
protected void writePrimaryKey(SQLTable t) throws ArchitectException { boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn col = (SQLColumn) it.next(); if (col.getPrimaryKeySeq() == null) break; if (firstCol) { out.println(""); out.println("ALTER TABLE "+t.... | protected void writePrimaryKey(SQLTable t) throws ArchitectException { boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn col = (SQLColumn) it.next(); if (col.getPrimaryKeySeq() == null) break; if (firstCol) { out.println(""); out.println("ALTER TABLE "+t.... | 1,111,112 |
protected void writePrimaryKey(SQLTable t) throws ArchitectException { boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn col = (SQLColumn) it.next(); if (col.getPrimaryKeySeq() == null) break; if (firstCol) { out.println(""); out.println("ALTER TABLE "+t.... | protected void writePrimaryKey(SQLTable t) throws ArchitectException { boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn col = (SQLColumn) it.next(); if (col.getPrimaryKeySeq() == null) break; if (firstCol) { out.println(""); out.println("ALTER TABLE "+t.... | 1,111,113 |
protected void writePrimaryKey(SQLTable t) throws ArchitectException { boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn col = (SQLColumn) it.next(); if (col.getPrimaryKeySeq() == null) break; if (firstCol) { out.println(""); out.println("ALTER TABLE "+t.... | protected void writePrimaryKey(SQLTable t) throws ArchitectException { boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn col = (SQLColumn) it.next(); if (col.getPrimaryKeySeq() == null) break; if (firstCol) { out.println(""); out.println("ALTER TABLE "+t.... | 1,111,114 |
protected void writePrimaryKey(SQLTable t) throws ArchitectException { boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn col = (SQLColumn) it.next(); if (col.getPrimaryKeySeq() == null) break; if (firstCol) { out.println(""); out.println("ALTER TABLE "+t.... | protected void writePrimaryKey(SQLTable t) throws ArchitectException { boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn col = (SQLColumn) it.next(); if (col.getPrimaryKeySeq() == null) break; if (firstCol) { out.println(""); out.println("ALTER TABLE "+t.... | 1,111,115 |
protected void writePrimaryKey(SQLTable t) throws ArchitectException { boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn col = (SQLColumn) it.next(); if (col.getPrimaryKeySeq() == null) break; if (firstCol) { out.println(""); out.println("ALTER TABLE "+t.... | protected void writePrimaryKey(SQLTable t) throws ArchitectException { boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn col = (SQLColumn) it.next(); if (col.getPrimaryKeySeq() == null) break; if (firstCol) { println(""); out.println("ALTER TABLE "+t.getN... | 1,111,116 |
public void writeStatementTerminator() { out.print(";"); } | public void writeStatementTerminator() { print(";"); } | 1,111,117 |
public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | 1,111,118 |
public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | 1,111,119 |
public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | 1,111,120 |
public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | 1,111,121 |
public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | 1,111,122 |
public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | 1,111,123 |
public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | 1,111,124 |
public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | 1,111,125 |
public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | public void writeTable(SQLTable t) throws SQLException, IOException, ArchitectException { out.println("\nCREATE TABLE "+t.getName()+" ("); boolean firstCol = true; Iterator it = t.getColumns().iterator(); while (it.hasNext()) { SQLColumn c = (SQLColumn) it.next(); GenericTypeDescriptor td = (GenericTypeDescrip... | 1,111,126 |
void processData(final String[][] hminfo, String[] in) { final String[] inputOptions = in; if (inputOptions[2].equals("")){ inputOptions[2] = "0"; } maxCompDist = Long.parseLong(inputOptions[2])*1000; this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); ... | void processData(final String[][] hminfo, String[] in) { final String[] inputOptions = in; if (inputOptions[2].equals("")){ inputOptions[2] = "0"; } maxCompDist = Long.parseLong(inputOptions[2])*1000; this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); ... | 1,111,127 |
public Object construct(){ dPrimeDisplay=null; theData.infoKnown = false; File markerFile; if (inputOptions[1].equals("")){ markerFile = null; }else{ markerFile = new File(inputOptions[1]); ... | public Object construct(){ dPrimeDisplay=null; theData.infoKnown = false; File markerFile; if (inputOptions[1].equals("")){ markerFile = null; }else{ markerFile = new File(inputOptions[1]); ... | 1,111,128 |
public Dimension getPreferredSize() { int w = 0; int h = 0; if ( origImage != null ) { if ( xformImage == null ) { buildXformImage(); } w = xformImage.getWidth(); h = xformImage.getHeight(); } return new Dimension( w, h ); } | public Dimension getPreferredSize() { int w = 0; int h = 0; if ( origImage != null ) { if ( xformImage == null ) { buildXformImage(); } w = xformImage.getWidth(); h = xformImage.getHeight(); } return new Dimension( w, h ); } | 1,111,129 |
public Expression createExpression( ExpressionFactory factory, String tagName, String attributeName, String attributeValue) throws Exception { // #### may need to include some namespace URI information in the XPath instance? if (attributeName.equals("select")) { ... | public Expression createExpression( ExpressionFactory factory, TagScript tagScript, String attributeName, String attributeValue) throws Exception { // #### may need to include some namespace URI information in the XPath instance? if (attributeName.equals("select")) { ... | 1,111,130 |
public Expression createExpression( ExpressionFactory factory, String tagName, String attributeName, String attributeValue) throws Exception { // #### may need to include some namespace URI information in the XPath instance? if (attributeName.equals("select")) { ... | public Expression createExpression( ExpressionFactory factory, String tagName, String attributeName, String attributeValue) throws Exception { // #### may need to include some namespace URI information in the XPath instance? if (attributeName.equals("select")) { ... | 1,111,131 |
public Expression createExpression( ExpressionFactory factory, String tagName, String attributeName, String attributeValue) throws Exception { // #### may need to include some namespace URI information in the XPath instance? if (attributeName.equals("select")) { ... | public Expression createExpression( ExpressionFactory factory, String tagName, String attributeName, String attributeValue) throws Exception { // #### may need to include some namespace URI information in the XPath instance? if (attributeName.equals("select")) { ... | 1,111,132 |
public static Vector calcTDT(Vector chromosomes) { Vector results = new Vector(); int numMarkers = Chromosome.getSize(); for(int k=0;k<numMarkers;k++){ results.add(new TDTResult(Chromosome.getMarker(k))); } for(int i=0;i<chromosomes.size()-3;i++){ Chromosome ... | public static Vector calcTDT(Vector chromosomes) { Vector results = new Vector(); int numMarkers = Chromosome.getSize(); for(int k=0;k<numMarkers;k++){ results.add(new TDTResult(Chromosome.getMarker(k))); } for(int i=0;i<chromosomes.size()-3;i++){ Chromosome ... | 1,111,133 |
public void paintComponent(Graphics g){ DPrimeTable dPrimeTable = theData.dpTable; if (Chromosome.getSize() < 2){ //if there zero or only one valid marker return; } Vector blocks = theData.blocks; Rectangle visRect = getVisibleRect(); //deal with zoomi... | public void paintComponent(Graphics g){ DPrimeTable dPrimeTable = theData.dpTable; if (Chromosome.getSize() < 2){ //if there zero or only one valid marker return; } Vector blocks = theData.blocks; Rectangle visRect = getVisibleRect(); //deal with zoomi... | 1,111,136 |
private UserManager(File userConfigFile){ try{ lastModified = userConfigFile.lastModified(); Document userConfig = new SAXBuilder().build(userConfigFile); users = loadUsers(userConfig); }catch(JDOMException jdEx){ logger.info("Error reading user info "+USER_... | private UserManager(File userConfigFile){ try{ Document userConfig = new SAXBuilder().build(userConfigFile); users = loadUsers(userConfig); }catch(JDOMException jdEx){ logger.info("Error reading user info "+USER_CONFIG_FILE_NAME); jdEx.printStack... | 1,111,137 |
public static UserManager getInstance(){ File userConfiguration = new File(USER_CONFIG_FILE_NAME); if(lastModified < userConfiguration.lastModified()){ /* Refresh the cache */ userManager = new UserManager(userConfiguration); } return userManager; } | public static UserManager getInstance(){ File userConfiguration = new File(USER_CONFIG_FILE_NAME); if(lastModified < userConfiguration.lastModified()){ /* Refresh the cache */ userManager = new UserManager(userConfiguration); } return userManager; } | 1,111,138 |
public QueryFulltextCriteria( QueryField field, String text ) { this.field = field; this.text = text; } | public QueryFulltextCriteria( QueryField field ) { this.field = field; this.text = text; } | 1,111,140 |
public QueryFulltextCriteria( QueryField field, String text ) { this.field = field; this.text = text; } | public QueryFulltextCriteria( QueryField field, String text ) { this.field = field; } | 1,111,141 |
public void setupQuery( Criteria crit ) { String sql = "MATCH(" + field.getName() + ") AGAINST('" + text + "')"; System.out.println( sql ); crit.addSql( sql ); System.out.println( "Added" ); } | public void setupQuery( Criteria crit ) { String sql = "MATCH(" + field.getName() + ") AGAINST('" + text + "')"; log.debug( sql ); crit.addSql( sql ); System.out.println( "Added" ); } | 1,111,142 |
public void setupQuery( Criteria crit ) { String sql = "MATCH(" + field.getName() + ") AGAINST('" + text + "')"; System.out.println( sql ); crit.addSql( sql ); System.out.println( "Added" ); } | public void setupQuery( Criteria crit ) { String sql = "MATCH(" + field.getName() + ") AGAINST('" + text + "')"; System.out.println( sql ); crit.addSql( sql ); log.debug( "Added" ); } | 1,111,143 |
public synchronized void addObjects(List list, Point preferredLocation, ArchitectSwingWorker nextProcess) throws ArchitectException { ProgressMonitor pm = new ProgressMonitor(null, "Copying objects to the playpen", "...", 0, 10... | public synchronized void addObjects(List list, Point preferredLocation, ArchitectSwingWorker nextProcess) throws ArchitectException { ProgressMonitor pm = new ProgressMonitor(this, "Copying objects to the playpen", "...", 0, 10... | 1,111,144 |
protected void reset() { if (ignoreReset) { // preserve the objects that are in the Target system when // the connection spec changes logger.debug("Ignoring Reset request for: " + getDataSource()); populated = true; } else { // discard everything and reload (this is generally for source systems)... | protected void reset() { if (playPenDatabase) { // preserve the objects that are in the Target system when // the connection spec changes logger.debug("Ignoring Reset request for: " + getDataSource()); populated = true; } else { // discard everything and reload (this is generally for source syst... | 1,111,145 |
public void mousePressed(MouseEvent evt) { evt.getComponent().requestFocus(); // make sure it was a left click? if ((evt.getModifiersEx() & MouseEvent.BUTTON1_DOWN_MASK) != 0) { TablePane tp = (TablePane) evt.getSource(); // dragging try { PlayPen pp = (PlayPen) tp.getPlayPen(); int clickCol = tp.pointT... | public void mousePressed(MouseEvent evt) { evt.getComponent().requestFocus(); // make sure it was a left click? if ((evt.getModifiersEx() & MouseEvent.BUTTON1_DOWN_MASK) != 0) { TablePane tp = (TablePane) evt.getSource(); // dragging try { PlayPen pp = (PlayPen) tp.getPlayPen(); int clickCol = tp.pointT... | 1,111,146 |
protected ActionForward processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ... | protected ActionForward processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ... | 1,111,147 |
protected ActionForward processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ... | protected ActionForward processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ... | 1,111,148 |
protected ActionForward processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ... | protected ActionForward processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ... | 1,111,149 |
protected ActionForward processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ... | protected ActionForward processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ... | 1,111,150 |
public void actionPerformed(ActionEvent evt) { dbcsPanel.applyChanges(); DBConnectionSpec dbcs = dbcsPanel.getDbcs(); ASUtils.LabelValueBean connLvb = ASUtils.lvb(dbcs.getDisplayName(), dbcs); connectionsBox.addItem(connLvb); connectionsBox.setSelectedItem(connLvb); ArchitectFr... | public void actionPerformed(ActionEvent evt) { dbcsPanel.applyChanges(); DBConnectionSpec dbcs = dbcsPanel.getDbcs(); ASUtils.LabelValueBean connLvb = ASUtils.lvb(dbcs.getDisplayName(), dbcs); connectionsBox.addItem(connLvb); connectionsBox.setSelectedItem(connLvb); ArchitectFr... | 1,111,152 |
public PLExportPanel() { setLayout(new GridLayout(1,2)); ArchitectFrame af = ArchitectFrame.getMainInstance(); SwingUIProject project = af.getProject(); projName = new String(project.getName()); newConnButton= new JButton("New"); newConnButton.addActionListener(new NewConnectionListener()); String plIniPath = a... | public PLExportPanel() { setLayout(new GridLayout(1,2)); ArchitectFrame af = ArchitectFrame.getMainInstance(); SwingUIProject project = af.getProject(); projName = new String(project.getName()); newConnButton= new JButton("New"); newConnButton.addActionListener(new NewConnectionListener()); String plIniPath = a... | 1,111,155 |
public PLExportPanel() { setLayout(new GridLayout(1,2)); ArchitectFrame af = ArchitectFrame.getMainInstance(); SwingUIProject project = af.getProject(); projName = new String(project.getName()); newConnButton= new JButton("New"); newConnButton.addActionListener(new NewConnectionListener()); String plIniPath = a... | public PLExportPanel() { setLayout(new GridLayout(1,2)); ArchitectFrame af = ArchitectFrame.getMainInstance(); SwingUIProject project = af.getProject(); projName = new String(project.getName()); newConnButton= new JButton("New"); newConnButton.addActionListener(new NewConnectionListener()); String plIniPath = a... | 1,111,156 |
public void stateChanged(ChangeEvent e) { viewMenuItems[tabs.getSelectedIndex()].setSelected(true); if (checkPanel.changed){ window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); JTable table = checkPanel.getTable(); boolean[] marker... | public void stateChanged(ChangeEvent e) { viewMenuItems[tabs.getSelectedIndex()].setSelected(true); if (checkPanel != null && checkPanel.changed){ window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); JTable table = checkPanel.getTable(); ... | 1,111,159 |
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | 1,111,160 |
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | 1,111,161 |
protected void init() throws ArchitectException { int accelMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); UserSettings us; // must be done right away, because a static // initializer in this class effects BeanUtils // behaviour which the XML Digester relies // upon heavily //Ty... | protected void init() throws ArchitectException { int accelMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); UserSettings us; // must be done right away, because a static // initializer in this class effects BeanUtils // behaviour which the XML Digester relies // upon heavily //Ty... | 1,111,162 |
public void actionPerformed(ActionEvent e) { if (promptForUnsavedModifications()) { JFileChooser chooser = new JFileChooser(); chooser.addChoosableFileFilter(ASUtils.ARCHITECT_FILE_FILTER); int returnVal = chooser.showOpenDialog(ArchitectFrame.this); if (retu... | public void actionPerformed(ActionEvent e) { if (promptForUnsavedModifications()) { JFileChooser chooser = new JFileChooser(); chooser.addChoosableFileFilter(ASUtils.ARCHITECT_FILE_FILTER); int returnVal = chooser.showOpenDialog(ArchitectFrame.this); if (retu... | 1,111,163 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.