bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public DBTree(List initialDatabases) throws ArchitectException { super(new DBTreeModel(initialDatabases)); setRootVisible(false); setShowsRootHandles(true); ds = new DragSource(); DragGestureRecognizer dgr = ds.createDefaultDragGestureRecognizer (this, DnDConstants.ACTION_COPY, new DBTreeDragGestureListener());... | public DBTree(List initialDatabases) throws ArchitectException { super(new DBTreeModel(initialDatabases)); setRootVisible(false); setShowsRootHandles(true); ds = new DragSource(); DragGestureRecognizer dgr = ds.createDefaultDragGestureRecognizer (this, DnDConstants.ACTION_COPY, new DBTreeDragGestureListener());... | 1,109,072 |
void load(int ft){ fileType = ft; JPanel contents = new JPanel(); contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS)); JPanel filePanel = new JPanel(); filePanel.setLayout(new BoxLayout(filePanel, BoxLayout.Y_AXIS)); JPanel topFilePanel = new JPanel(); JPan... | void load(int ft){ fileType = ft; JPanel contents = new JPanel(); contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS)); JPanel filePanel = new JPanel(); filePanel.setLayout(new BoxLayout(filePanel, BoxLayout.Y_AXIS)); JPanel topFilePanel = new JPanel(); JPan... | 1,109,074 |
public void saveResultToFile(File outFile) throws IOException { BufferedWriter bw = new BufferedWriter(new FileWriter(outFile)); bw.write("#tagging with r^2 cutoff: " + minRSquared); bw.newLine(); bw.write("#captured " + taggedSoFar + " of " + snps.size() +" alleles with mean r^2 of " + ... | public void saveResultToFile(File outFile) throws IOException { BufferedWriter bw = new BufferedWriter(new FileWriter(outFile)); bw.write("#tagging with r^2 cutoff: " + minRSquared); bw.newLine(); bw.write("#captured " + taggedSoFar + " of " + snps.size() +" alleles with mean r^2 of " + ... | 1,109,075 |
public void saveResultToFile(File outFile) throws IOException { BufferedWriter bw = new BufferedWriter(new FileWriter(outFile)); bw.write("#tagging with r^2 cutoff: " + minRSquared); bw.newLine(); bw.write("#captured " + taggedSoFar + " of " + snps.size() +" alleles with mean r^2 of " + ... | public void saveResultToFile(File outFile) throws IOException { BufferedWriter bw = new BufferedWriter(new FileWriter(outFile)); bw.write("#tagging with r^2 cutoff: " + minRSquared); bw.newLine(); bw.write("#captured " + taggedSoFar + " of " + snps.size() +" alleles with mean r^2 of " + ... | 1,109,076 |
public void dPrimeDraw(String[][] table, boolean info, Vector snps, Graphics g){ int scale = table.length*30; int activeOffset = 0; float d, l, blgr; Color myColor; int[] shifts; Font regFont = new Font("Lucida Sans Regular", Font.PLAIN, 10); FontMetrics regfm = g.getFontMetrics(regFont); Font boldFont = new Font("... | public void dPrimeDraw(String[][] table, boolean info, Vector snps, Graphics g){ int scale = table.length*30; int activeOffset = 0; float d, l, blgr; Color myColor; int[] shifts; Font regFont = new Font("Lucida Sans Regular", Font.PLAIN, 10); FontMetrics regfm = g.getFontMetrics(regFont); Font boldFont = new Font("... | 1,109,077 |
public void dPrimeDraw(String[][] table, boolean info, Vector snps, Graphics g){ int scale = table.length*30; int activeOffset = 0; float d, l, blgr; Color myColor; int[] shifts; Font regFont = new Font("Lucida Sans Regular", Font.PLAIN, 10); FontMetrics regfm = g.getFontMetrics(regFont); Font boldFont = new Font("... | public void dPrimeDraw(String[][] table, boolean info, Vector snps, Graphics g){ int scale = table.length*30; int activeOffset = 0; float d, l, blgr; Color myColor; int[] shifts; Font regFont = new Font("Lucida Sans Regular", Font.PLAIN, 10); FontMetrics regfm = g.getFontMetrics(regFont); Font boldFont = new Font("... | 1,109,078 |
public void haploDraw(Graphics gr, boolean myuseThickness, int mycolorThresh, int mycrossThinThresh, int mycrossThickThresh, double[] gapDPrime, Haplotype[][] hapsInBlocks){ NumberFormat nf = NumberFormat.getInstance(); NumberFormat nfMulti = NumberFormat.getInstance(); nf.setMinimumFractionDigits(3); nf.se... | public void haploDraw(Graphics gr, boolean myuseThickness, int mycolorThresh, int mycrossThinThresh, int mycrossThickThresh, double[] gapDPrime, Haplotype[][] hapsInBlocks){ NumberFormat nf = NumberFormat.getInstance(); NumberFormat nfMulti = NumberFormat.getInstance(); nf.setMinimumFractionDigits(3); nf.se... | 1,109,079 |
public static LocalizationContext getLocalizationContext(JellyContext jc, String basename) { LocalizationContext locCtxt = null; ResourceBundle bundle = null; if ((basename == null) || basename.equals("")) { return new LocalizationContext(); } // Try preferred locales Locale pref = null; { Object tmp =... | public static LocalizationContext getLocalizationContext(JellyContext jc, String basename) { LocalizationContext locCtxt = null; ResourceBundle bundle = null; if ((basename == null) || basename.equals("")) { return new LocalizationContext(); } // Try preferred locales Locale pref = null; { Object tmp =... | 1,109,081 |
private String generateUniqueColumnName(SQLColumn column, SQLTable table) { return column.getName() + "_1"; // XXX: fix this to be better } | private static String generateUniqueColumnName(SQLColumn column, SQLTable table) { return column.getName() + "_1"; // XXX: fix this to be better } | 1,109,082 |
public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | public void itemSelected(SelectionEvent e) { // what address am I? // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 ACTIVE!!!."); } Selectable s = e.getSelectableSource(); // do... | 1,109,083 |
public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | 1,109,084 |
public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | 1,109,085 |
public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | 1,109,086 |
public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | 1,109,087 |
public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | 1,109,088 |
public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | 1,109,089 |
public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 A... | 1,109,090 |
public void doEM(int[] theBlock) throws HaploViewException{ //break up large blocks if needed int[] block_size; if (theBlock.length < 9){ block_size = new int[1]; block_size[0] = theBlock.length; } else { //some base-8 arithmetic int ones = the... | public void doEM(int[] theBlock) throws HaploViewException{ //break up large blocks if needed int[] block_size; if (theBlock.length < 9){ block_size = new int[1]; block_size[0] = theBlock.length; } else { //some base-8 arithmetic int ones = the... | 1,109,091 |
public void doEM(int[] theBlock) throws HaploViewException{ //break up large blocks if needed int[] block_size; if (theBlock.length < 9){ block_size = new int[1]; block_size[0] = theBlock.length; } else { //some base-8 arithmetic int ones = the... | public void doEM(int[] theBlock) throws HaploViewException{ //break up large blocks if needed int[] block_size; if (theBlock.length < 9){ block_size = new int[1]; block_size[0] = theBlock.length; } else { //some base-8 arithmetic int ones = the... | 1,109,092 |
public void redoRatings(){ try{ Vector result = pedfile.check(); for (int i = 0; i < table.getRowCount(); i++){ MarkerResult cur = (MarkerResult)result.get(i); if (cur.getRating() > 0){ table.setValueAt(new Boolean(true),i,STATUS_COL); ... | public void redoRatings(){ try{ Vector result = pedfile.check(); for (int i = 0; i < table.getRowCount(); i++){ MarkerResult cur = (MarkerResult)result.get(i); int curRating = cur.getRating(); if (curRating > 0){ table.setValueAt(new Bool... | 1,109,093 |
EM(Vector chromosomes, int numTrios, Vector extraInds){ //we need to add extra copies of haploid chromosomes so we add a second copy this.chromosomes = new Vector(); for(int i=0;i<extraInds.size();i++){ this.chromosomes.add(extraInds.elementAt(i)); if(((Chromosome)this.chr... | EM(Vector chromosomes, int numTrios, Vector extraInds){ //we need to add extra copies of haploid chromosomes so we add a second copy this.chromosomes = new Vector(); for(int i=0;i<extraInds.size();i++){ this.chromosomes.add(extraInds.elementAt(i)); if(((Chromosome)this.chr... | 1,109,094 |
public synchronized void setupDialog() { if (d != null) return; d = new JDialog(ArchitectFrame.getMainInstance(), "Export ETL Transactions to PL Repository"); // set export defaults if necessary if (plexp.getFolderName() == null || plexp.getFolderName().trim().length() == 0) { plexp.setFolderName(PLUtils.to... | public synchronized void setupDialog() { if (d != null) return; d = new JDialog(ArchitectFrame.getMainInstance(), "Export ETL Transactions to PL Repository"); // set export defaults if necessary if (plexp.getFolderName() == null || plexp.getFolderName().trim().length() == 0) { plexp.setFolderName(PLUtils.to... | 1,109,096 |
public void actionPerformed(ActionEvent evt) { plPanel.applyChanges(); if (plexp.getPlDBCS() == null) { JOptionPane.showMessageDialog(plPanel, "You have to select a target database from the list.", "Error", JOptionPane.ERROR_MESSAGE); return; } if (plexp.getPlUsername().trim().length() == ... | public void actionPerformed(ActionEvent evt) { plPanel.applyChanges(); if (plexp.getPlDBCS() == null) { JOptionPane.showMessageDialog(plPanel, "You have to select a target database from the list.", "Error", JOptionPane.ERROR_MESSAGE); return; } if (plexp.getPlUsername().trim().length() == ... | 1,109,097 |
public void actionPerformed(ActionEvent evt) { plPanel.discardChanges(); d.setVisible(false); } | public void actionPerformed(ActionEvent evt) { plPanel.discardChanges(); d.setVisible(false); } | 1,109,098 |
public PairwiseLinkage computeDPrime(int pos1, int pos2){ int doublehet = 0; int[][] twoMarkerHaplos = new int[3][3]; for (int i = 0; i < twoMarkerHaplos.length; i++){ for (int j = 0; j < twoMarkerHaplos[i].length; j++){ twoMarkerHaplos[i][j] = 0; } }... | public PairwiseLinkage computeDPrime(int pos1, int pos2){ int doublehet = 0; int[][] twoMarkerHaplos = new int[3][3]; for (int i = 0; i < twoMarkerHaplos.length; i++){ for (int j = 0; j < twoMarkerHaplos[i].length; j++){ twoMarkerHaplos[i][j] = 0; } }... | 1,109,099 |
public String getToolTipText(MouseEvent e) { return contentPane.getToolTipText(e); } | public String getToolTipText(MouseEvent e) { Point zp = unzoomPoint(e.getPoint()); MouseEvent zoomedEvent = new MouseEvent((Component) e.getSource(), e.getID(), e.getWhen(), e.getModifiers(), zp.x, zp.y, e.getClickCount(), e.isPopupTrigger(), e.getButton()); return contentPane.getToolTipText(zoomedEvent); } | 1,109,102 |
public void testSourceDropDownsWithOnlyCatalog() { ArchitectDataSource ds = new ArchitectDataSource(); ds.setDisplayName("testSourceDropDownsWithOnlyCatalog"); ds.setDriverClass("ca.sqlpower.architect.MockJDBCDriver"); ds.setUser("fake"); ds.setPass("fake"); //this creates a mock jdbc database with only catalogs... | public void testSourceDropDownsWithOnlyCatalog() { ArchitectDataSource ds = new ArchitectDataSource(); ds.setDisplayName("testSourceDropDownsWithOnlyCatalog"); ds.setDriverClass("ca.sqlpower.architect.MockJDBCDriver"); ds.setUser("fake"); ds.setPass("fake"); //this creates a mock jdbc database with only catalogs... | 1,109,103 |
public void testSourceDropDownsWithSchemaAndCatalog() { ArchitectDataSource ds = new ArchitectDataSource(); ds.setDisplayName("testSourceDropDownsWithSchemaAndCatalog"); ds.setDriverClass("ca.sqlpower.architect.MockJDBCDriver"); ds.setUser("fake"); ds.setPass("fake"); //this creates a mock jdbc database with cat... | public void testSourceDropDownsWithSchemaAndCatalog() { ArchitectDataSource ds = new ArchitectDataSource(); ds.setDisplayName("testSourceDropDownsWithSchemaAndCatalog"); ds.setDriverClass("ca.sqlpower.architect.MockJDBCDriver"); ds.setUser("fake"); ds.setPass("fake"); //this creates a mock jdbc database with cat... | 1,109,104 |
public void createDatabase( String user, String passwd ) { // Get the database schema XML file InputStream schemaIS = getClass().getClassLoader().getResourceAsStream( "photovault_schema.xml" ); Database dbModel = new DatabaseIO().read( new InputStreamReader( schemaIS ) ); ... | public void createDatabase( String user, String passwd ) { // Get the database schema XML file InputStream schemaIS = getClass().getClassLoader().getResourceAsStream( "photovault_schema.xml" ); Database dbModel = new DatabaseIO().read( new InputStreamReader( schemaIS ) ); ... | 1,109,109 |
protected void init() throws ArchitectException { int accelMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); prefs = PrefsUtils.getUserPrefsNode(architectSession); UserSettings us; // must be done right away, because a static // initializer in this class effects BeanUtils // behaviour whi... | protected void init() throws ArchitectException { int accelMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); prefs = PrefsUtils.getUserPrefsNode(architectSession); UserSettings us; // must be done right away, because a static // initializer in this class effects BeanUtils // behaviour whi... | 1,109,112 |
public void setProject(SwingUIProject p) throws ArchitectException { this.project = p; logger.debug("Setting project to "+project); setTitle(project.getName()+" - Power*Architect"); playpen = project.getPlayPen(); dbTree = project.getSourceDatabases(); setupActions(); setupConnectionsMenu(); splitPane.setL... | public void setProject(SwingUIProject p) throws ArchitectException { this.project = p; logger.debug("Setting project to "+project); setTitle(project.getName()+" - Power*Architect"); playpen = project.getPlayPen(); dbTree = project.getSourceDatabases(); setupActions(); setupConnectionsMenu(); splitPane.setL... | 1,109,114 |
public void addNotificationListener(ObjectName objectName, ObjectNotificationListener listener, ObjectNotificationFilter filter, Object handback){ RMINotificationListener notifListener = ... | public void addNotificationListener(ObjectName objectName, ObjectNotificationListener listener, ObjectNotificationFilter filter, Object handback){ RMINotificationListener notifListener = ... | 1,109,115 |
public void addNotificationListener(ObjectName objectName, ObjectNotificationListener listener, ObjectNotificationFilter filter, Object handback){ RMINotificationListener notifListener = ... | public void addNotificationListener(ObjectName objectName, ObjectNotificationListener listener, ObjectNotificationFilter filter, Object handback){ RMINotificationListener notifListener = ... | 1,109,116 |
public void removeNotificationListener(ObjectName objectName, ObjectNotificationListener listener, ObjectNotificationFilter filter, Object handback){ RMINotificationListener notifList... | public void removeNotificationListener(ObjectName objectName, ObjectNotificationListener listener, ObjectNotificationFilter filter, Object handback){ RMINotificationListener notifList... | 1,109,117 |
private static RMINotificationListener toRMINotificationListener( final ObjectNotificationListener listener){ return new MyRMINotificationListener(listener); } | private static RMINotificationListener toRMINotificationListener( final ObjectNotificationListener listener){ return new MyRMINotificationListener(listener); } | 1,109,119 |
public void addNotificationListener(ObjectName objectName, ObjectNotificationListener listener, ObjectNotificationFilter filter, Object handback){ throw new RuntimeException("Notifications not... | public void addNotificationListener(ObjectName objectName, ObjectNotificationListener listener, ObjectNotificationFilter filter, Object handback){ NotificationListener notifListener = toJMXNot... | 1,109,120 |
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command.equals(READ_GENOTYPES)){ ReadDataDialog readDialog = new ReadDataDialog("Open new data", this); readDialog.pack(); readDialog.setVisible(true); } else if (command.equ... | public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if (command.equals(READ_GENOTYPES)){ ReadDataDialog readDialog = new ReadDataDialog("Open new data", this); readDialog.pack(); readDialog.setVisible(true); } else if (command.equ... | 1,109,122 |
public String getShortHelp(){ return "Exit from jManage command prompt mode"; } | public String getShortHelp(){ return "Exits from jManage command prompt mode"; } | 1,109,123 |
void prepareMarkerInput(File infile, long md, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the... | void prepareMarkerInput(File infile, long md, String[][] hapmapGoodies) throws IOException, HaploViewException{ //this method is called to gather data about the markers used. //It is assumed that the input file is two columns, the first being //the name and the second the absolute position. the... | 1,109,126 |
public void adjustDisplay() { //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | public void adjustDisplay(int dt){ //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | 1,109,127 |
public void adjustDisplay() { //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | public void adjustDisplay() { //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | 1,109,128 |
public void adjustDisplay() { //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | public void adjustDisplay() { //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | 1,109,129 |
public void adjustDisplay() { //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | public void adjustDisplay() { //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | 1,109,130 |
public void adjustDisplay() { //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | public void adjustDisplay() { //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | 1,109,131 |
public void adjustDisplay() { //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | public void adjustDisplay() { //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | 1,109,132 |
public void adjustDisplay() { //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | public void adjustDisplay() { //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh ... | 1,109,133 |
public void getHaps() throws HaploViewException{ if (theData.blocks == null) {return;} Haplotype[][] haplos = theData.generateHaplotypes(theData.blocks, 0); orderedHaplos = new Haplotype[haplos.length][]; for (int i = 0; i < haplos.length; i++) { Vector orderedHaps = new Vecto... | public void getHaps() throws HaploViewException{ if (theData.blocks == null) {return;} Haplotype[][] haplos = theData.generateHaplotypes(theData.blocks, 0); orderedHaplos = new Haplotype[haplos.length][]; for (int i = 0; i < haplos.length; i++) { Vector orderedHaps = new Vecto... | 1,109,135 |
public int compare(CompositeScore<?> first, CompositeScore<?> second) { int result = FilteringScore.nullCompare(first, second); if (result != 0) { return result; } result = FilteringScore.rangeComparator() .compare(first.getFilteringScore... | public int compare(CompositeScore<?> first, CompositeScore<?> second) { int result = FilteringScore.nullCompare(first, second); if (result != 0) { return result; } result = FilteringScore.rangeComparator() .compare(first.getFilteringScore... | 1,109,136 |
public int compare(CompositeScore<?> first, CompositeScore<?> second) { int result = FilteringScore.nullCompare(first, second); if (result != 0) { return result; } result = FilteringScore.rangeComparator() .compare(first.getFilteringScore... | public int compare(CompositeScore<?> first, CompositeScore<?> second) { int result = FilteringScore.nullCompare(first, second); if (result != 0) { return result; } result = FilteringScore.rangeComparator() .compare(first.getFilteringScore... | 1,109,137 |
public int compare(CompositeScore<?> first, CompositeScore<?> second) { int result = FilteringScore.nullCompare(first, second); if (result != 0) { return result; } result = FilteringScore.rangeComparator() .compare(first.getFilteringScore... | public int compare(CompositeScore<?> first, CompositeScore<?> second) { int result = FilteringScore.nullCompare(first, second); if (result != 0) { return result; } result = FilteringScore.rangeComparator() .compare(first.getFilteringScore... | 1,109,138 |
public int compare(CompositeScore<?> first, CompositeScore<?> second) { int result = FilteringScore.nullCompare(first, second); if (result != 0) { return result; } result = FilteringScore.rangeComparator() .compare(first.getFilteringScore... | public int compare(CompositeScore<?> first, CompositeScore<?> second) { int result = FilteringScore.nullCompare(first, second); if (result != 0) { return result; } result = FilteringScore.rangeComparator() .compare(first.getFilteringScore... | 1,109,139 |
public static <S extends Storable> OrderingScore<S> evaluate (OrderedProperty<S>[] indexProperties, boolean unique, boolean clustered, Filter<S> filter, OrderingList<S> ordering) { if (indexProperties == null) { throw new IllegalArgumentException("Index pr... | public static <S extends Storable> OrderingScore<S> evaluate (OrderedProperty<S>[] indexProperties, boolean unique, boolean clustered, Filter<S> filter, OrderingList<S> ordering) { if (indexProperties == null) { throw new IllegalArgumentException("Index pr... | 1,109,140 |
public static <S extends Storable> OrderingScore<S> evaluate (OrderedProperty<S>[] indexProperties, boolean unique, boolean clustered, Filter<S> filter, OrderingList<S> ordering) { if (indexProperties == null) { throw new IllegalArgumentException("Index pr... | public static <S extends Storable> OrderingScore<S> evaluate (OrderedProperty<S>[] indexProperties, boolean unique, boolean clustered, Filter<S> filter, OrderingList<S> ordering) { if (indexProperties == null) { throw new IllegalArgumentException("Index pr... | 1,109,141 |
public static <S extends Storable> OrderingScore<S> evaluate (OrderedProperty<S>[] indexProperties, boolean unique, boolean clustered, Filter<S> filter, OrderingList<S> ordering) { if (indexProperties == null) { throw new IllegalArgumentException("Index pr... | public static <S extends Storable> OrderingScore<S> evaluate (OrderedProperty<S>[] indexProperties, boolean unique, boolean clustered, Filter<S> filter, OrderingList<S> ordering) { if (indexProperties == null) { throw new IllegalArgumentException("Index pr... | 1,109,142 |
protected void ensureNotInMapping(SQLColumn pkcol) throws ArchitectException { if (containsPkColumn(pkcol)) { ColumnMapping m = getMappingByPkCol(pkcol); List fkTies = fkTable.keysOfColumn(m.getFkColumn()); if (fkTies == null || fkTies.size() <= 1) { fkTable.removeColumn(m.getFkColumn()); } remov... | protected void ensureNotInMapping(SQLColumn pkcol) throws ArchitectException { if (containsPkColumn(pkcol)) { ColumnMapping m = getMappingByPkCol(pkcol); List fkTies = fkTable.keysOfColumn(m.getFkColumn()); if (fkTies == null || fkTies.size() <= 1) { fkTable.removeColumn(m.getFkColumn()); } } ... | 1,109,144 |
public void populate() throws ArchitectException { logger.debug("SQLRelationship: populate is a no-op"); } | public void populate() { logger.debug("SQLRelationship: populate is a no-op"); } | 1,109,145 |
public void actionPerformed(ActionEvent e) { if (dbTree == null) { logger.debug("dbtree was null when actionPerformed called"); return; } if ( dbTree.getSelectionPaths() == null ) { logger.debug("dbtree path selection was null when actionPerformed called"); ... | public void actionPerformed(ActionEvent e) { if (dbTree == null) { logger.debug("dbtree was null when actionPerformed called"); return; } if ( dbTree.getSelectionPaths() == null ) { logger.debug("dbtree path selection was null when actionPerformed called"); ... | 1,109,146 |
public void run() { try { List<SQLTable> toBeProfiled = new ArrayList<SQLTable>(); for (SQLTable t: tables) { if (profileManager.getResult(t)== null) { toBeProfiled.add(t); ... | public void run() { try { List<SQLTable> toBeProfiled = new ArrayList<SQLTable>(); for (SQLTable t: tables) { if (profileManager.getResult(t)== null) { toBeProfiled.add(t); ... | 1,109,147 |
public void actionPerformed(ActionEvent e) { Set<SQLTable> uniqueTables = new HashSet(); for (int i: viewTable.getSelectedRows()) { Object o = viewTable.getValueAt(i,3); ... | public void actionPerformed(ActionEvent e) { Set<SQLTable> uniqueTables = new HashSet(); for (int i: viewTable.getSelectedRows()) { Object o = viewTable.getValueAt(i,3); ... | 1,109,148 |
public void doTag(XMLOutput output) throws Exception { if (var == null) { throw new IllegalArgumentException("The var attribute cannot be null"); } Document document = null; if (xml == null) { SAXContentHandler handler = new SAXContentHandler(); XMLOutput... | public void doTag(XMLOutput output) throws Exception { if (var == null) { throw new IllegalArgumentException("The var attribute cannot be null"); } Document document = null; if (xml == null) { SAXContentHandler handler = new SAXContentHandler(); XMLOutput... | 1,109,151 |
public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Rectangle visRect = getVisibleRect(); //deal with zooming if (chartSize.getWidth() > (3*visRect.width)){ showWM = true; }else{ ... | public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Rectangle visRect = getVisibleRect(); //deal with zooming if (chartSize.getWidth() > (3*visRect.width)){ showWM = true; }else{ ... | 1,109,152 |
public PresentationObject getAccounts(IWContext iwc) { DataTable T = new DataTable(); T.setWidth("100%"); String styp = ""; Collection accounts = null; if (topic > 0) { accounts = MailFinder.getInstance().getTopicAccounts(topic); styp = iwrb.getLocalizedString("list.topic", "topic"); Ema... | public PresentationObject getAccounts(IWContext iwc) { DataTable T = new DataTable(); T.setWidth("100%"); String styp = ""; Collection accounts = null; if (topic > 0) { accounts = MailFinder.getInstance().getTopicAccounts(topic); styp = iwrb.getLocalizedString("list.topic", "topic"); Ema... | 1,109,153 |
public PresentationObject getTopicsOverView(IWContext iwc){ Table T = new Table(); int row = 1; T.add(getTopicLink(-1,iwrb.getLocalizedString("new_topic","New topic")),1,row); row++; T.add(tf.format(iwrb.getLocalizedString("name","Name"),tf.HEADER),1,row); T.add(tf.format(iwrb.getLocalizedString("category",... | public PresentationObject getTopicsOverView(IWContext iwc){ Table T = new Table(); int row = 1; T.add(getTopicLink(-1,iwrb.getLocalizedString("new_topic","New topic")),1,row); row++; T.add(tf.format(iwrb.getLocalizedString("name","Name"),tf.HEADER),1,row); T.add(tf.format(iwrb.getLocalizedString("category",... | 1,109,154 |
public PresentationObject getTopicsOverView(IWContext iwc){ Table T = new Table(); int row = 1; T.add(getTopicLink(-1,iwrb.getLocalizedString("new_topic","New topic")),1,row); row++; T.add(tf.format(iwrb.getLocalizedString("name","Name"),tf.HEADER),1,row); T.add(tf.format(iwrb.getLocalizedString("category",... | public PresentationObject getTopicsOverView(IWContext iwc){ Table T = new Table(); int row = 1; T.add(getTopicLink(-1,iwrb.getLocalizedString("new_topic","New topic")),1,row); row++; T.add(tf.format(iwrb.getLocalizedString("name","Name"),tf.HEADER),1,row); T.add(tf.format(iwrb.getLocalizedString("category",... | 1,109,155 |
public void mouseClicked(MouseEvent evt) { // TODO Auto-generated method stub Object obj = evt.getSource(); if (evt.getClickCount() == 2) { if ( obj instanceof JTable ) { JTable t = (JTable)obj; SQLColumn col = (SQLColumn)t.ge... | public void mouseClicked(MouseEvent evt) { // TODO Auto-generated method stub Object obj = evt.getSource(); if (evt.getClickCount() == 2) { if ( obj instanceof JTable ) { JTable t = (JTable)obj; SQLColumn col = (SQLColumn)t.ge... | 1,109,156 |
public void actionPerformed(ActionEvent e) { if (dbTree == null) { logger.debug("dbtree was null when actionPerformed called"); return; } if ( dbTree.getSelectionPaths() == null ) { logger.debug("dbtree path selection was null when actionPerformed called"); ... | public void actionPerformed(ActionEvent e) { if (dbTree == null) { logger.debug("dbtree was null when actionPerformed called"); return; } if ( dbTree.getSelectionPaths() == null ) { logger.debug("dbtree path selection was null when actionPerformed called"); ... | 1,109,157 |
public void actionPerformed(ActionEvent e) { if (dbTree == null) { logger.debug("dbtree was null when actionPerformed called"); return; } if ( dbTree.getSelectionPaths() == null ) { logger.debug("dbtree path selection was null when actionPerformed called"); ... | public void actionPerformed(ActionEvent e) { if (dbTree == null) { logger.debug("dbtree was null when actionPerformed called"); return; } if ( dbTree.getSelectionPaths() == null ) { logger.debug("dbtree path selection was null when actionPerformed called"); ... | 1,109,158 |
public void actionPerformed(ActionEvent e) { if (dbTree == null) { logger.debug("dbtree was null when actionPerformed called"); return; } if ( dbTree.getSelectionPaths() == null ) { logger.debug("dbtree path selection was null when actionPerformed called"); ... | public void actionPerformed(ActionEvent e) { if (dbTree == null) { logger.debug("dbtree was null when actionPerformed called"); return; } if ( dbTree.getSelectionPaths() == null ) { logger.debug("dbtree path selection was null when actionPerformed called"); ... | 1,109,159 |
public void actionPerformed(ActionEvent e) { if (dbTree == null) { logger.debug("dbtree was null when actionPerformed called"); return; } if ( dbTree.getSelectionPaths() == null ) { logger.debug("dbtree path selection was null when actionPerformed called"); ... | public void actionPerformed(ActionEvent e) { if (dbTree == null) { logger.debug("dbtree was null when actionPerformed called"); return; } if ( dbTree.getSelectionPaths() == null ) { logger.debug("dbtree path selection was null when actionPerformed called"); ... | 1,109,160 |
public void run() { try { List<SQLTable> toBeProfiled = new ArrayList<SQLTable>(); for (SQLTable t: tables) { if (profileManager.getResult(t)== null) { toBeProfiled.add(t); ... | public void run() { try { List<SQLTable> toBeProfiled = new ArrayList<SQLTable>(); for (SQLTable t: tables) { if (profileManager.getResult(t)== null) { toBeProfiled.add(t); ... | 1,109,162 |
public void run() { try { List<SQLTable> toBeProfiled = new ArrayList<SQLTable>(); for (SQLTable t: tables) { if (profileManager.getResult(t)== null) { toBeProfiled.add(t); ... | public void run() { try { List<SQLTable> toBeProfiled = new ArrayList<SQLTable>(); for (SQLTable t: tables) { if (profileManager.getResult(t)== null) { toBeProfiled.add(t); ... | 1,109,163 |
public void run() { try { List<SQLTable> toBeProfiled = new ArrayList<SQLTable>(); for (SQLTable t: tables) { if (profileManager.getResult(t)== null) { toBeProfiled.add(t); ... | public void run() { try { List<SQLTable> toBeProfiled = new ArrayList<SQLTable>(); for (SQLTable t: tables) { if (profileManager.getResult(t)== null) { toBeProfiled.add(t); ... | 1,109,164 |
public void run() { try { List<SQLTable> toBeProfiled = new ArrayList<SQLTable>(); for (SQLTable t: tables) { if (profileManager.getResult(t)== null) { toBeProfiled.add(t); ... | public void run() { try { List<SQLTable> toBeProfiled = new ArrayList<SQLTable>(); for (SQLTable t: tables) { if (profileManager.getResult(t)== null) { toBeProfiled.add(t); ... | 1,109,165 |
public void actionPerformed(ActionEvent e) { Set<SQLTable> uniqueTables = new HashSet(); for (int i: viewTable.getSelectedRows()) { Object o = viewTable.getValueAt(i,3); ... | public void actionPerformed(ActionEvent e) { Set<SQLTable> uniqueTables = new HashSet(); for (int i: viewTable.getSelectedRows()) { Object o = viewTable.getValueAt(i, viewTable.convertColumnIndexToV... | 1,109,167 |
public void actionPerformed(ActionEvent e) { int[] killMe = viewTable.getSelectedRows(); Arrays.sort(killMe); // iterate backwards so the rows don't shift away on us! f... | public void actionPerformed(ActionEvent e) { int[] killMe = viewTable.getSelectedRows(); Arrays.sort(killMe); // iterate backwards so the rows don't shift away on us! f... | 1,109,168 |
public void actionPerformed(ActionEvent e) { while ( viewTable.getRowCount() > 0 ) { SQLColumn col = (SQLColumn) viewTable.getValueAt(0, 4); try { profi... | public void actionPerformed(ActionEvent e) { while ( viewTable.getRowCount() > 0 ) { SQLColumn col = (SQLColumn) viewTable.getValueAt(0, viewTable.convertColumnIndexToView( ProfileColumn.valueOf("COLUMN").ordinal())); ... | 1,109,169 |
public void paintComponent(Graphics g){ DPrimeTable dPrimeTable = theData.dpTable; if (Chromosome.getSize() == 0){ //if there are no valid markers return; } Vector blocks = theData.blocks; Rectangle visRect = getVisibleRect(); //deal with zooming ... | public void paintComponent(Graphics g){ DPrimeTable dPrimeTable = theData.dpTable; if (Chromosome.getSize() == 0){ //if there are no valid markers return; } Vector blocks = theData.blocks; Rectangle visRect = getVisibleRect(); //deal with zooming ... | 1,109,171 |
public String getColumnName(int column) { if ( column == 0 ) { return "Count"; } else if ( column == 1 ) { return "Value"; } else { throw new IllegalStateException("Unknown Column Index:"+column); } } | public String getColumnName(int column) { if ( column == 0 ) { return COUNT; } else if ( column == 1 ) { return "Value"; } else { throw new IllegalStateException("Unknown Column Index:"+column); } } | 1,109,172 |
public String getColumnName(int column) { if ( column == 0 ) { return "Count"; } else if ( column == 1 ) { return "Value"; } else { throw new IllegalStateException("Unknown Column Index:"+column); } } | public String getColumnName(int column) { if ( column == 0 ) { return "Count"; } else if ( column == 1 ) { return VALUE; } else { throw new IllegalStateException("Unknown Column Index:"+column); } } | 1,109,173 |
public void doTag(XMLOutput output) throws JellyTagException { int idx = name.indexOf(':'); final String localName = (idx >= 0) ? name.substring(idx + 1) : name; outputAttributes = false; XMLOutput newOutput = new XMLOutput(output) { // add an initialize ... | public void doTag(XMLOutput output) throws JellyTagException { int idx = name.indexOf(':'); final String localName = (idx >= 0) ? name.substring(idx + 1) : name; outputAttributes = false; XMLOutput newOutput = new XMLOutput(output) { // add an initialize ... | 1,109,174 |
public void doTag(XMLOutput output) throws JellyTagException { int idx = name.indexOf(':'); final String localName = (idx >= 0) ? name.substring(idx + 1) : name; outputAttributes = false; XMLOutput newOutput = new XMLOutput(output) { // add an initialize ... | public void doTag(XMLOutput output) throws JellyTagException { int idx = name.indexOf(':'); final String localName = (idx >= 0) ? name.substring(idx + 1) : name; outputAttributes = false; XMLOutput newOutput = new XMLOutput(output) { // add an initialize ... | 1,109,175 |
public void doTag(XMLOutput output) throws JellyTagException { int idx = name.indexOf(':'); final String localName = (idx >= 0) ? name.substring(idx + 1) : name; outputAttributes = false; XMLOutput newOutput = new XMLOutput(output) { // add an initialize ... | public void doTag(XMLOutput output) throws JellyTagException { int idx = name.indexOf(':'); final String localName = (idx >= 0) ? name.substring(idx + 1) : name; outputAttributes = false; XMLOutput newOutput = new XMLOutput(output) { // add an initialize ... | 1,109,176 |
public void characters(char ch[], int start, int length) throws SAXException { initialize(); super.characters(ch, start, length); } | public void characters(char[] ch, int start, int length) throws SAXException { initialize(); super.characters(ch, start, length); } | 1,109,177 |
public void ignorableWhitespace(char ch[], int start, int length) throws SAXException { initialize(); super.ignorableWhitespace(ch, start, length); } | public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException { initialize(); super.ignorableWhitespace(ch, start, length); } | 1,109,178 |
public void setAttributeValue( String name, String value ) throws JellyTagException { if (outputAttributes) { throw new JellyTagException( "Cannot set the value of attribute: " + name + " as we have already output the startElement() SAX event" ); } ... | public void setAttributeValue(String name, String value, String uri) throws JellyTagException { if (outputAttributes) { throw new JellyTagException( "Cannot set the value of attribute: " + name + " as we have already output the startElement() SAX event" ); ... | 1,109,179 |
public void setAttributeValue( String name, String value ) throws JellyTagException { if (outputAttributes) { throw new JellyTagException( "Cannot set the value of attribute: " + name + " as we have already output the startElement() SAX event" ); } ... | public void setAttributeValue( String name, String value ) throws JellyTagException { if (outputAttributes) { throw new JellyTagException( "Cannot set the value of attribute: " + name + " as we have already output the startElement() SAX event" ); } ... | 1,109,180 |
public void setAttributeValue( String name, String value ) throws JellyTagException { if (outputAttributes) { throw new JellyTagException( "Cannot set the value of attribute: " + name + " as we have already output the startElement() SAX event" ); } ... | public void setAttributeValue( String name, String value ) throws JellyTagException { if (outputAttributes) { throw new JellyTagException( "Cannot set the value of attribute: " + name + " as we have already output the startElement() SAX event" ); } ... | 1,109,181 |
public void actionPerformed(ActionEvent e) { List items = pp.getSelectedItems(); Iterator it = items.iterator(); while (it.hasNext()) { PlayPenComponent c = (PlayPenComponent) it.next(); pp.contentPane.remove(c); pp.contentPane.add(c, 0); } pp.repaint(); } | public void actionPerformed(ActionEvent e) { List items = pp.getSelectedItems(); Iterator it = items.iterator(); while (it.hasNext()) { PlayPenComponent c = (PlayPenComponent) it.next(); pp.contentPane.remove(c); if (c instanceof Relationship) { pp.contentPane.add(c,pp.contentPane.getFirstRelationIndex... | 1,109,182 |
public void dbChildrenInserted(SQLObjectEvent e) { logger.debug("SQLObject children got inserted: "+e); boolean fireEvent = false; SQLObject[] c = e.getChildren(); for (int i = 0; i < c.length; i++) { try { addHierarcyListeners(c[i]); } catch (ArchitectException ex) { logger.error("Couldn't listen to add... | public void dbChildrenInserted(SQLObjectEvent e) { logger.debug("SQLObject children got inserted: "+e); boolean fireEvent = false; SQLObject[] c = e.getChildren(); for (int i = 0; i < c.length; i++) { try { addHierarcyListeners(c[i]); } catch (ArchitectException ex) { logger.error("Couldn't listen to add... | 1,109,183 |
public void showDbcsDialog() { final DBCSPanel dbcsPanel = new DBCSPanel(); DBCS_OkAction okAction = new DBCS_OkAction(dbcsPanel, false); dbcsPanel.setDbcs(db.getDataSource()); Action cancelAction = new AbstractAction() { public void actionPerformed(ActionEvent e) { dbcsPanel.discardChanges(); } }; ... | public void showDbcsDialog() { final DBCSPanel dbcsPanel = new DBCSPanel(); DBCS_OkAction okAction = new DBCS_OkAction(dbcsPanel, false); Action cancelAction = new AbstractAction() { public void actionPerformed(ActionEvent e) { dbcsPanel.discardChanges(); } }; JDialog d = ArchitectPanelBuilder.cre... | 1,109,184 |
public PostageException(String message, Throwable cause) { super(message, cause); } | public PostageException(String message, Throwable cause) { super(message, cause); } | 1,109,185 |
public void actionPerformed( ActionEvent ev ) { try { Collection selectedPhotos = view.getSelection(); Iterator iter = selectedPhotos.iterator(); while ( iter.hasNext() ) { PhotoInfo photo = (PhotoInfo) iter.next(); JFrame frame = new JFrame( "Ph... | public void actionPerformed( ActionEvent ev ) { try { Collection selectedPhotos = view.getSelection(); if ( selectedPhotos.size() > 1 ) { int n = JOptionPane.showConfirmDialog( parentFrame, "You have selected " + selectedPhotos.size() + " photos\n" + "Are you sure that you want to\ndi... | 1,109,186 |
public JAIPhotoViewer() { super(); createUI(); addComponentListener( this ); } | public JAIPhotoViewer() { super(); createUI(); } | 1,109,188 |
public void doTag(XMLOutput output) throws Exception { String message = getBodyText(); Object expectedValue = expected.evaluate(context); Object actualValue = actual.evaluate(context); if (expectedValue == null && actualValue == null) { ... | public void doTag(XMLOutput output) throws Exception { String message = getBodyText(); Object expectedValue = expected.evaluate(context); Object actualValue = actual.evaluate(context); if (expectedValue == null && actualValue == null) { ... | 1,109,189 |
abstract void dumpTree(Appendable app, int indentLevel) throws IOException; | public void dumpTree(Appendable app) throws IOException { dumpTree(app, 0); } | 1,109,191 |
public TagScript createTagScript(final String name, final Attributes attributes) throws Exception { return new TagScript( new TagFactory() { public Tag createTag(String name, Attributes attributes) throws Exception { Tag answer = DynamicTagLibrary.this.crea... | public TagScript createTagScript(final String name, final Attributes attributes) throws Exception { return new TagScript( new TagFactory() { public Tag createTag(String name, Attributes attributes) throws Exception { Tag answer = DynamicTagLibrary.this.crea... | 1,109,192 |
public Tag createTag(String name, Attributes attributes) throws Exception { Tag answer = DynamicTagLibrary.this.createTag(name, attributes); // delegate to my parent instead if ( answer == null && parent != null ) { ... | public Tag createTag(String name, Attributes attributes) throws Exception { Tag answer = DynamicTagLibrary.this.createTag(name, attributes); // delegate to my parent instead if ( answer == null && parent != null ) { ... | 1,109,193 |
public DynamicTag(Script template) { this.template = template; } | public DynamicTag(Script template) { this.template = template; } | 1,109,194 |
public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Rectangle visRect = getVisibleRect(); //deal with zooming if (chartSize.getWidth() > (3*visRect.width)){ showWM = true; }else{ ... | public void paintComponent(Graphics g){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; Vector blocks = theData.blocks; Rectangle visRect = getVisibleRect(); //deal with zooming if (chartSize.getWidth() > (3*visRect.width)){ showWM = true; }else{ ... | 1,109,195 |
public boolean addDriverJar(String fullPath) { return driverJarList.add(fullPath); } | public boolean addDriverJar(String fullPath) { return driverJarList.add(fullPath); } | 1,109,196 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.