bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void stopUnpack() { parent.releaseGUI(); parent.lockPrevButton(); parent.unlockNextButton(); installButton.setIcon(parent.icons.getImageIcon("empty")); installButton.setEnabled(false); progressBar.setString(parent.langpack.getString("InstallPanel.finished")); ... | public void stopUnpack() { parent.releaseGUI(); parent.lockPrevButton(); installButton.setIcon(parent.icons.getImageIcon("empty")); installButton.setEnabled(false); progressBar.setString(parent.langpack.getString("InstallPanel.finished")); progressBar.setEnabled(f... | 3,240,067 |
private void writePacks() throws IOException { sendMsg("Writing Packs ..."); // Map to remember pack number and bytes offsets of back references Map storedFiles = new HashMap(); // First write the serialized files and file metadata data for each pack // while counting bytes. int packNum... | private void writePacks() throws IOException { sendMsg("Writing Packs ..."); // Map to remember pack number and bytes offsets of back references Map storedFiles = new HashMap(); // First write the serialized files and file metadata data for each pack // while counting bytes. int packNum... | 3,240,069 |
public boolean matchCurrentSystem() { boolean match = true; String osName = System.getProperty("os.name").toLowerCase(); if ((arch != null) && (arch.length() != 0)) { match = System.getProperty("os.arch").toLowerCase().equals(arch); } if (match && (version != null) && (version.length() != 0)) ... | public boolean matchCurrentSystem() { boolean match = true; String osName = System.getProperty("os.name").toLowerCase(); if ((arch != null) && (arch.length() != 0)) { match = System.getProperty("os.arch").toLowerCase().equals(arch); } if (match && (version != null) && (version.length() != 0)) ... | 3,240,070 |
private List preparePatterns(ArrayList list, RECompiler recompiler) { ArrayList result = new ArrayList(); for (Iterator iter = list.iterator(); iter.hasNext();) { String element = (String) iter.next(); if ((element != null) && (element.length() > 0)) { ... | private List preparePatterns(ArrayList list, RECompiler recompiler) { ArrayList result = new ArrayList(); for (Iterator iter = list.iterator(); iter.hasNext();) { String element = (String) iter.next(); if ((element != null) && (element.length() > 0)) { ... | 3,240,075 |
private List preparePatterns(ArrayList list, RECompiler recompiler) { ArrayList result = new ArrayList(); for (Iterator iter = list.iterator(); iter.hasNext();) { String element = (String) iter.next(); if ((element != null) && (element.length() > 0)) { ... | private List preparePatterns(ArrayList list, RECompiler recompiler) { ArrayList result = new ArrayList(); for (Iterator iter = list.iterator(); iter.hasNext();) { String element = (String) iter.next(); if ((element != null) && (element.length() > 0)) { ... | 3,240,076 |
public void run() { addToInstances(); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); ... | public void run() { addToInstances(); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); ... | 3,240,077 |
public void run() { addToInstances(); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); ... | public void run() { addToInstances(); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); ... | 3,240,078 |
private URL loadLicence() { URL retVal = null; String resNamePrifix = "HTMLLicencePanel.licence"; String resName = resNamePrifix + "_" + idata.localeISO3; retVal = getClass().getResource(resName); if (null == retVal ) { retVal = getClass().getResource(resNamePrifix)... | private URL loadLicence() { URL retVal = null; String resNamePrifix = "/res/HTMLLicencePanel.licence"; String resName = resNamePrifix + "_" + idata.localeISO3; retVal = getClass().getResource(resName); if (null == retVal ) { retVal = getClass().getResource(resNamePr... | 3,240,079 |
public synchronized void returnObject(Object obj) throws Exception { _numActive--; if(null == _factory || _factory.validateObject(obj)) { if(null != _factory) { try { _factory.passivateObject(obj); } catch(Exception e) { _f... | public synchronized void returnObject(Object obj) throws Exception { _numActive--; if(null == _factory || _factory.validateObject(obj)) { if(null != _factory) { try { _factory.passivateObject(obj); } catch(Exception e) { _f... | 3,240,080 |
public synchronized void returnObject(Object obj) throws Exception { _numActive--; if(null == _factory || _factory.validateObject(obj)) { if(null != _factory) { try { _factory.passivateObject(obj); } catch(Exception e) { _f... | public synchronized void returnObject(Object obj) throws Exception { _numActive--; if(null == _factory || _factory.validateObject(obj)) { if(null != _factory) { try { _factory.passivateObject(obj); } catch(Exception e) { _f... | 3,240,081 |
public ServiceFactory( OmeroContext context ){ this.ctx = context; } | public ServiceFactory( OmeroContext context ){ this.ctx = context; } | 3,240,083 |
public void doCall() { servant.addCodomainMap(mapCtx); } | public void doCall() { servant.addCodomainMap(mapCtx); } | 3,240,084 |
public int getDefaultT() { return rndDefCopy.getDefaultT(); } | public int getDefaultT() { return rndDefCopy.getDefaultT(); } | 3,240,085 |
public int getDefaultZ() { return rndDefCopy.getDefaultZ(); } | public int getDefaultZ() { return rndDefCopy.getDefaultZ(); } | 3,240,086 |
public int getModel() { return rndDefCopy.getModel(); } | public int getModel() { return rndDefCopy.getModel(); } | 3,240,087 |
public void doCall() { servant.removeCodomainMap(mapCtx); } | public void doCall() { servant.removeCodomainMap(mapCtx); } | 3,240,088 |
public void resetDefaults() { setQuantumStrategy(QuantumFactory.LINEAR, 1.0, QuantumFactory.DEPTH_8BIT); setCodomainInterval(0, QuantumFactory.DEPTH_8BIT); ChannelBindings[] cb = rndDefCopy.getChannelBindings(); PixelsStats stats = servant.getPixelsStats(); for (int i = 0; i < cb.length; i++) resetDef... | public void resetDefaults() { setQuantumStrategy(QuantumFactory.LINEAR, 1.0, QuantumFactory.DEPTH_8BIT); setCodomainInterval(0, QuantumFactory.DEPTH_8BIT); ChannelBindings[] cb = rndDefCopy.getChannelBindings(); PixelsStats stats = servant.getPixelsStats(); for (int i = 0; i < cb.length; i++) resetDef... | 3,240,089 |
public void doCall() { servant.resetDefaults(); } | public void doCall() { servant.resetDefaults(); } | 3,240,090 |
public void doCall() { servant.saveCurrentSettings(); } | public void doCall() { servant.saveCurrentSettings(); } | 3,240,091 |
public void doCall() { servant.setActive(w, active); } | public void doCall() { servant.setActive(w, active); } | 3,240,092 |
public void doCall() { servant.setChannelWindow(w, start, end); } | public void doCall() { servant.setChannelWindow(w, start, end); } | 3,240,093 |
public void setCodomainInterval(final int start, final int end) { //TODO: this might go well w/ our copy, but then throw an exception //in the servant. We need a future. QuantumDef qd = rndDefCopy.getQuantumDef(), newQd; newQd = new QuantumDef(qd.family, qd.pixelType, qd.curveCoefficient, start, end,... | public void setCodomainInterval(final int start, final int end) { //TODO: this might go well w/ our copy, but then throw an exception //in the servant. We need a future. QuantumDef qd = rndDefCopy.getQuantumDef(), newQd; newQd = new QuantumDef(qd.family, qd.pixelType, qd.curveCoefficient, start, end,... | 3,240,094 |
public void doCall() { servant.setCodomainInterval(start, end); } | public void doCall() { servant.setCodomainInterval(start, end); } | 3,240,095 |
public void setQuantumStrategy(final int family, final double coefficient, final int bitResolution) { //TODO: this might go well w/ our copy, but then throw an exception //in the servant. We need a future. QuantumDef qd = rndDefCopy.getQuantumDef(), newQd; newQd = new QuantumDef(family, qd.pixelType... | public void setQuantumStrategy(final int family, final double coefficient, final int bitResolution) { //TODO: this might go well w/ our copy, but then throw an exception //in the servant. We need a future. QuantumDef qd = rndDefCopy.getQuantumDef(), newQd; newQd = new QuantumDef(family, qd.pixelType... | 3,240,096 |
public void setQuantumStrategy(final int family, final double coefficient, final int bitResolution) { //TODO: this might go well w/ our copy, but then throw an exception //in the servant. We need a future. QuantumDef qd = rndDefCopy.getQuantumDef(), newQd; newQd = new QuantumDef(family, qd.pixelType... | public void setQuantumStrategy(final int family, final double coefficient, final int bitResolution) { //TODO: this might go well w/ our copy, but then throw an exception //in the servant. We need a future. QuantumDef qd = rndDefCopy.getQuantumDef(), newQd; newQd = new QuantumDef(family, qd.pixelType... | 3,240,097 |
public void doCall() { servant.setQuantumStrategy(family, coefficient, bitResolution); } | public void doCall() { servant.setQuantumStrategy(family, coefficient, bitResolution); } | 3,240,098 |
public void doCall() { servant.setRGBA(w, red, green, blue, alpha); } | public void doCall() { servant.setRGBA(w, red, green, blue, alpha); } | 3,240,099 |
public void doCall() { servant.updateCodomainMap(mapCtx); } | public void doCall() { servant.updateCodomainMap(mapCtx); } | 3,240,100 |
public int[] getRGBA() { int[] colors = new int[rgba.length]; for (int i = 0; i < rgba.length; i++) colors[i] = rgba[i]; return colors; } | public int[] getRGBA() { int[] colors = new int[rgba.length]; for (int i = 0; i < rgba.length; i++) colors[i] = rgba[i]; return colors; } | 3,240,101 |
public void resetDefaults() { //linear gamma = 1.0 and bitResolution <=> 255 setQuantumStrategy(QuantumFactory.LINEAR, 1.0, QuantumFactory.DEPTH_8BIT); setCodomainInterval(0, QuantumFactory.DEPTH_8BIT); ChannelBindings[] cb = renderer.getRenderingDef().getChannelBindings(); PixelsStats stats = renderer.get... | public void resetDefaults() { //linear gamma = 1.0 and bitResolution <=> 255 setQuantumStrategy(QuantumFactory.LINEAR, 1.0, QuantumFactory.DEPTH_8BIT); setCodomainInterval(0, QuantumFactory.DEPTH_8BIT); ChannelBindings[] cb = renderer.getRenderingDef().getChannelBindings(); PixelsStats stats = renderer.get... | 3,240,102 |
public void saveCurrentSettings() { int imageID = renderer.getImageID(); int pixelsID = renderer.getPixelsID(); Registry context = RenderingEngine.getRegistry(); try { context.getDataManagementService().saveRenderingSettings(pixelsID, imageID, renderer.getRenderingDef()); } catch (Exception e) { M... | public void saveCurrentSettings() { int imageID = renderer.getImageID(); int pixelsID = renderer.getPixelsID(); Registry context = RenderingEngine.getRegistry(); try { context.getDataManagementService().saveRenderingSettings(pixelsID, imageID, renderer.getRenderingDef()); } catch (Exception e) { M... | 3,240,103 |
public void saveCurrentSettings() { int imageID = renderer.getImageID(); int pixelsID = renderer.getPixelsID(); Registry context = RenderingEngine.getRegistry(); try { context.getDataManagementService().saveRenderingSettings(pixelsID, imageID, renderer.getRenderingDef()); } catch (Exception e) { M... | public void saveCurrentSettings() { int imageID = renderer.getImageID(); int pixelsID = renderer.getPixelsID(); Registry context = RenderingEngine.getRegistry(); try { context.getDataManagementService().saveRenderingSettings(pixelsID, imageID, renderer.getRenderingDef()); } catch (Exception e) { M... | 3,240,104 |
public void setInputWindow(double start, double end) { inputStart = start; inputEnd = end; } | public void setInputWindow(double start, double end) { inputStart = start; inputEnd = end; } | 3,240,105 |
public QuantumDef(int family, int pixelType, double curveCoefficient, int cdStart, int cdEnd, int bitResolution) { this.family = family; this.pixelType = pixelType; this.curveCoefficient = curveCoefficient; this.cdStart = cdStart; this.cdEnd = cdEnd; this.bitResolution = bitResolution; } | public QuantumDef(int family, int pixelType, double curveCoefficient, int cdStart, int cdEnd, int bitResolution) { this.family = family; this.pixelType = pixelType; this.curveCoefficient = curveCoefficient; this.cdStart = cdStart; this.cdEnd = cdEnd; this.bitResolution = bitResolution; } | 3,240,106 |
public QuantumDef(int family, int pixelType, double curveCoefficient, int cdStart, int cdEnd, int bitResolution) { this.family = family; this.pixelType = pixelType; this.curveCoefficient = curveCoefficient; this.cdStart = cdStart; this.cdEnd = cdEnd; this.bitResolution = bitResolution; } | public QuantumDef(int family, int pixelType, double curveCoefficient, int cdStart, int cdEnd, int bitResolution) { this.family = family; this.pixelType = pixelType; this.curveCoefficient = curveCoefficient; this.cdStart = cdStart; this.cdEnd = cdEnd; this.bitResolution = bitResolution; } | 3,240,107 |
public void setCodomainInterval(int start, int end) { CodomainChain chain = renderer.getCodomainChain(); chain.setInterval(start, end); RenderingDef rd = renderer.getRenderingDef(); QuantumDef qd = rd.getQuantumDef(), newQd; newQd = new QuantumDef(qd.family, qd.pixelType, qd.curveCoefficient, start, e... | public void setCodomainInterval(int start, int end) { CodomainChain chain = renderer.getCodomainChain(); chain.setInterval(start, end); RenderingDef rd = renderer.getRenderingDef(); QuantumDef qd = rd.getQuantumDef(), newQd; newQd = new QuantumDef(qd.family, qd.pixelType, qd.curveCoefficient, start, e... | 3,240,108 |
public void setQuantumStrategy(int family, double coefficient, int bitResolution); | public void setQuantumStrategy(int family, double coefficient, int bitResolution); | 3,240,109 |
public void setQuantumStrategy(int family, double coefficient, int bitResolution) { RenderingDef rd = renderer.getRenderingDef(); QuantumDef qd = rd.getQuantumDef(), newQd; newQd = new QuantumDef(family, qd.pixelType, coefficient, qd.cdStart, qd.cdEnd, bitResolution); rd.setQuantumDef(newQd); r... | public void setQuantumStrategy(int family, double coefficient, int bitResolution) { RenderingDef rd = renderer.getRenderingDef(); QuantumDef qd = rd.getQuantumDef(), newQd; newQd = new QuantumDef(family, qd.pixelType, coefficient, qd.cdStart, qd.cdEnd, bitResolution); rd.setQuantumDef(newQd); r... | 3,240,110 |
public void setRGBA(int red, int green, int blue, int alpha) { verifyColorComponent(red); verifyColorComponent(green); verifyColorComponent(blue); verifyColorComponent(alpha); rgba[0] = red; rgba[1] = green; rgba[2] = blue; rgba[3] = alpha; } | public void setRGBA(int red, int green, int blue, int alpha) { verifyColorComponent(red); verifyColorComponent(green); verifyColorComponent(blue); verifyColorComponent(alpha); rgba[0] = red; rgba[1] = green; rgba[2] = blue; rgba[3] = alpha; } | 3,240,111 |
private void divideLabel () { int width; int startPos; int currentPos; int lastPos; int endPos; line.clear (); FontMetrics fm = this.getFontMetrics (this.getFont ()); startPos = 0; currentPos = startPos; lastPos = currentPos; endPos = (labelText... | private void divideLabel () { int width; int startPos; int currentPos; int lastPos; int endPos; line.clear (); FontMetrics fm = this.getFontMetrics (this.getFont ()); startPos = 0; currentPos = startPos; lastPos = currentPos; endPos = (labelText... | 3,240,112 |
private void divideLabel () { int width; int startPos; int currentPos; int lastPos; int endPos; line.clear (); FontMetrics fm = this.getFontMetrics (this.getFont ()); startPos = 0; currentPos = startPos; lastPos = currentPos; endPos = (labelText... | private void divideLabel () { int width; int startPos; int currentPos; int lastPos; int endPos; line.clear (); FontMetrics fm = this.getFontMetrics (this.getFont ()); startPos = 0; currentPos = startPos; lastPos = currentPos; endPos = (labelText... | 3,240,113 |
public FinishPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); vs = new VariableSubstitutor(idata.getVariableValueMap()); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstrain... | public FinishPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); vs = new VariableSubstitutor(idata.getVariableValueMap()); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstrain... | 3,240,114 |
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We prepare a message for the uninstaller feature String home = ""; home = System.getProperty("user.home"); String path = t... | publicvoidpanelActivate(){parent.lockNextButton();parent.lockPrevButton();if(idata.installSuccess){//WeprepareamessagefortheuninstallerfeatureStringhome="";home=System.getProperty("user.home");Stringpath=translatePath("$INSTALL_PATH")+File.separator+"Uninstaller";//WesettheinformationinfoLabel.setText(parent.langpack.g... | 3,240,115 |
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We prepare a message for the uninstaller feature String home = ""; home = System.getProperty("user.home"); String path = t... | public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We prepare a message for the uninstaller feature String home = ""; home = System.getProperty("user.home"); String path = t... | 3,240,116 |
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We prepare a message for the uninstaller feature String home = ""; home = System.getProperty("user.home"); String path = t... | public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We prepare a message for the uninstaller feature String home = ""; home = System.getProperty("user.home"); String path = t... | 3,240,117 |
public synchronized static final RegistryHandler getInstance() { if (!initialized) { try { // Load the system dependant handler. registryHandler = (RegistryHandler) (TargetFactory.getInstance() .makeObject("com.izforge.izpac... | public synchronized static RegistryHandler getInstance() { if (!initialized) { try { // Load the system dependant handler. registryHandler = (RegistryHandler) (TargetFactory.getInstance() .makeObject("com.izforge.izpack.util... | 3,240,118 |
public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | 3,240,119 |
public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker(idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fon... | 3,240,120 |
public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | 3,240,121 |
public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | 3,240,122 |
public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | 3,240,123 |
public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | 3,240,124 |
public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | 3,240,125 |
public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | 3,240,126 |
public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker (idata, this); JLabel heading = new JLabel(); Font font = heading.getFont (); font = font.deriveFont (Font.BOLD, font.getSize()*2.0f); heading.setFont(fo... | 3,240,127 |
public void finishProcess () { } | public void finishProcess() { } | 3,240,128 |
public void finishProcessing () { overallProgressBar.setValue (this.noOfJobs); String no_of_jobs = Integer.toString (this.noOfJobs); overallProgressBar.setString (no_of_jobs + " / " + no_of_jobs); overallProgressBar.setEnabled (false); processLabel.setText(" "); processLabel.setEnabled(false); v... | public void finishProcessing() { overallProgressBar.setValue (this.noOfJobs); String no_of_jobs = Integer.toString (this.noOfJobs); overallProgressBar.setString (no_of_jobs + " / " + no_of_jobs); overallProgressBar.setEnabled (false); processLabel.setText(" "); processLabel.setEnabled(false); va... | 3,240,129 |
public void finishProcessing () { overallProgressBar.setValue (this.noOfJobs); String no_of_jobs = Integer.toString (this.noOfJobs); overallProgressBar.setString (no_of_jobs + " / " + no_of_jobs); overallProgressBar.setEnabled (false); processLabel.setText(" "); processLabel.setEnabled(false); v... | public void finishProcessing () { overallProgressBar.setValue (this.noOfJobs); String no_of_jobs = Integer.toString (this.noOfJobs); overallProgressBar.setString (no_of_jobs + " / " + no_of_jobs); overallProgressBar.setEnabled (false); processLabel.setText(" "); processLabel.setEnabled(false); v... | 3,240,130 |
public void logOutput (String message, boolean stderr) { // TODO: make it colored this.outputPane.append(message+'\n'); } | public void logOutput(String message, boolean stderr) { // TODO: make it colored this.outputPane.append(message+'\n'); } | 3,240,131 |
public void logOutput (String message, boolean stderr) { // TODO: make it colored this.outputPane.append(message+'\n'); } | public void logOutput (String message, boolean stderr) { // TODO: make it colored this.outputPane.append(message + '\n'); } | 3,240,132 |
public void makeXMLData (XMLElement panelRoot) { // does nothing (no state to save) } | public void makeXMLData(XMLElement panelRoot) { // does nothing (no state to save) } | 3,240,133 |
public void panelActivate() { // We clip the panel Dimension dim = parent.getPanelsContainerSize(); dim.width = dim.width - (dim.width / 4); dim.height = 150; setMinimumSize(dim); setMaximumSize(dim); setPreferredSize(dim); parent.lockNextButton(); this.worker.startThread(); } | public void panelActivate() { // We clip the panel Dimension dim = parent.getPanelsContainerSize(); dim.width = dim.width - (dim.width / 4); dim.height = 150; setMinimumSize(dim); setMaximumSize(dim); setPreferredSize(dim); parent.lockNextButton(); this.worker.startThread(); } | 3,240,134 |
public void panelActivate() { // We clip the panel Dimension dim = parent.getPanelsContainerSize(); dim.width = dim.width - (dim.width / 4); dim.height = 150; setMinimumSize(dim); setMaximumSize(dim); setPreferredSize(dim); parent.lockNextButton(); this.worker.startThread(); } | public void panelActivate() { // We clip the panel Dimension dim = parent.getPanelsContainerSize(); dim.width = dim.width - (dim.width / 4); dim.height = 150; setMinimumSize(dim); setMaximumSize(dim); setPreferredSize(dim); parent.lockNextButton(); this.worker.startThread(); } | 3,240,135 |
public void startProcess (String jobName) { processLabel.setText (jobName); this.currentJob++; overallProgressBar.setValue(this.currentJob); overallProgressBar.setString (Integer.toString (this.currentJob) + " / " + Integer.toString (this.noOfJobs)); } | public void startProcess(String jobName) { processLabel.setText (jobName); this.currentJob++; overallProgressBar.setValue(this.currentJob); overallProgressBar.setString (Integer.toString (this.currentJob) + " / " + Integer.toString (this.noOfJobs)); } | 3,240,136 |
public void startProcess (String jobName) { processLabel.setText (jobName); this.currentJob++; overallProgressBar.setValue(this.currentJob); overallProgressBar.setString (Integer.toString (this.currentJob) + " / " + Integer.toString (this.noOfJobs)); } | public void startProcess (String jobName) { processLabel.setText(jobName); this.currentJob++; overallProgressBar.setValue(this.currentJob); overallProgressBar.setString (Integer.toString (this.currentJob) + " / " + Integer.toString (this.noOfJobs)); } | 3,240,137 |
public void startProcess (String jobName) { processLabel.setText (jobName); this.currentJob++; overallProgressBar.setValue(this.currentJob); overallProgressBar.setString (Integer.toString (this.currentJob) + " / " + Integer.toString (this.noOfJobs)); } | public void startProcess (String jobName) { processLabel.setText (jobName); this.currentJob++; overallProgressBar.setValue(this.currentJob); overallProgressBar.setString( Integer.toString(this.currentJob) + " / " + Integer.toString(this.noOfJobs)); } | 3,240,138 |
public void startProcessing (int no_of_jobs) { this.noOfJobs = no_of_jobs; overallProgressBar.setMaximum (noOfJobs); parent.lockPrevButton(); } | public void startProcessing(int no_of_jobs) { this.noOfJobs = no_of_jobs; overallProgressBar.setMaximum (noOfJobs); parent.lockPrevButton(); } | 3,240,139 |
public void startProcessing (int no_of_jobs) { this.noOfJobs = no_of_jobs; overallProgressBar.setMaximum (noOfJobs); parent.lockPrevButton(); } | public void startProcessing (int no_of_jobs) { this.noOfJobs = no_of_jobs; overallProgressBar.setMaximum(noOfJobs); parent.lockPrevButton(); } | 3,240,140 |
public synchronized void changedUpdate(DocumentEvent e) { } | public void changedUpdate(DocumentEvent e) { } | 3,240,141 |
public synchronized void keyReleased(KeyEvent e) { } | public void keyReleased(KeyEvent e) { } | 3,240,142 |
public synchronized void postUpdateUI() { // this attempts to cleanup the damage done by updateComponentTreeUI requestFocus(); setCaret(getCaret()); select(outputMark, outputMark); } | public void postUpdateUI() { // this attempts to cleanup the damage done by updateComponentTreeUI requestFocus(); setCaret(getCaret()); select(outputMark, outputMark); } | 3,240,143 |
public synchronized void postUpdateUI() { // this attempts to cleanup the damage done by updateComponentTreeUI requestFocus(); setCaret(getCaret()); select(outputMark, outputMark); } | public synchronized void postUpdateUI() { // this attempts to cleanup the damage done by updateComponentTreeUI requestFocus(); setCaret(getCaret()); synchronized(this) { select(outputMark, outputMark); } } | 3,240,144 |
synchronized void returnPressed() { Document doc = getDocument(); int len = doc.getLength(); Segment segment = new Segment(); try { doc.getText(outputMark, len - outputMark, segment); } catch(javax.swing.text.BadLocationException ignored) { ignored.printStack... | void returnPressed() { Document doc = getDocument(); int len = doc.getLength(); Segment segment = new Segment(); try { doc.getText(outputMark, len - outputMark, segment); } catch(javax.swing.text.BadLocationException ignored) { ignored.printStackTrace(); ... | 3,240,145 |
synchronized void returnPressed() { Document doc = getDocument(); int len = doc.getLength(); Segment segment = new Segment(); try { doc.getText(outputMark, len - outputMark, segment); } catch(javax.swing.text.BadLocationException ignored) { ignored.printStack... | synchronized void returnPressed() { Document doc = getDocument(); int len = doc.getLength(); Segment segment = new Segment(); try { doc.getText(outputMark, len - outputMark, segment); } catch(javax.swing.text.BadLocationException ignored) { ignored.printStack... | 3,240,146 |
public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = ").append(path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.app... | 3,240,147 |
public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = ").append(mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.app... | 3,240,148 |
public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = ").append(type); retval.append("\n"); retval.app... | 3,240,149 |
public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | 3,240,150 |
public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | 3,240,151 |
public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | 3,240,152 |
public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | 3,240,153 |
public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | 3,240,154 |
public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | 3,240,155 |
public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | public String toString() { StringBuffer retval = new StringBuffer(); retval.append("path = " + path); retval.append("\n"); retval.append("mainClass = " + mainClass); retval.append("\n"); retval.append("type = " + type); retval.append("\n"); retval.append("e... | 3,240,156 |
public abstract Object makeObject(Object key); | public abstract Object makeObject(Object key); | 3,240,157 |
public void actionPerformed (ActionEvent event) { Object eventSource = event.getSource (); // ---------------------------------------------------- // create shortcut for the current user was selected // refresh the list of program groups accordingly and // reset the program group to the default sett... | public void actionPerformed (ActionEvent event) { Object eventSource = event.getSource (); // ---------------------------------------------------- // create shortcut for the current user was selected // refresh the list of program groups accordingly and // reset the program group to the default sett... | 3,240,158 |
public void panelActivate () { analyzeShortcutSpec (); if (shortcutsToCreate) { if (shortcut.supported () && !simulteNotSupported) { parent.lockNextButton (); buildUI (shortcut.getProgramGroups (ShellLink.CURRENT_USER), true); // always start out with the current user } el... | public void panelActivate () { analyzeShortcutSpec (); if (shortcutsToCreate) { if (shortcut.supported () && !simulteNotSupported) { buildUI (shortcut.getProgramGroups (ShellLink.CURRENT_USER), true); // always start out with the current user } else { buildAlt... | 3,240,159 |
public RuleTextField(int digits, int editLength, int type, boolean unlimitedEdit, Toolkit toolkit) { super(digits + 1); columns = digits; this.toolkit = toolkit; this.editLength = editLength; this.unlimitedEdit = unlimitedEdit; rule = new Rule(); rule.s... | public RuleTextField(int digits, int editLength, int type, boolean unlimitedEdit, Toolkit toolkit) { super(digits + 1); columns = digits; this.toolkit = toolkit; this.editLength = editLength; this.unlimitedEdit = unlimitedEdit; rule = new Rule(); rule.s... | 3,240,161 |
public RuleTextField(int digits, int editLength, int type, boolean unlimitedEdit, Toolkit toolkit) { super(digits + 1); columns = digits; this.toolkit = toolkit; this.editLength = editLength; this.unlimitedEdit = unlimitedEdit; rule = new Rule(); rule.s... | public RuleTextField(int digits, int editLength, int type, boolean unlimitedEdit, Toolkit toolkit) { super(digits + 1); columns = digits; this.toolkit = toolkit; this.editLength = editLength; this.unlimitedEdit = unlimitedEdit; Rule rule = new Rule(); r... | 3,240,162 |
protected Document createDefaultModel() { rule = new Rule(); return (rule); } | protected Document createDefaultModel() { Rule rule = new Rule(); return (rule); } | 3,240,163 |
public TargetPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout layout = new GridBagLayout(); gbConstraints = new GridBagConstraints(); setLayout(layout); // load the default directory info (if present) loadDefaultDir(); if (defaultDir != null)... | public TargetPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout layout = new GridBagLayout(); gbConstraints = new GridBagConstraints(); setLayout(layout); // load the default directory info (if present) loadDefaultDir(); if (defaultDir != null)... | 3,240,164 |
public TargetPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout layout = new GridBagLayout(); gbConstraints = new GridBagConstraints(); setLayout(layout); // load the default directory info (if present) loadDefaultDir(); if (defaultDir != null)... | public TargetPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout layout = new GridBagLayout(); gbConstraints = new GridBagConstraints(); setLayout(layout); // load the default directory info (if present) loadDefaultDir(); if (defaultDir != null)... | 3,240,165 |
public boolean isValidated() { String installPath = textField.getText(); boolean ok = true; // We put a warning if the specified target is nameless if (installPath.length() == 0) { int res = JOptionPane.showConfirmDialog(this, parent.langpack.getString("TargetPanel.empty_target"), p... | public boolean isValidated() { String installPath = textField.getText(); boolean ok = true; // We put a warning if the specified target is nameless if (installPath.length() == 0) { int res = JOptionPane.showConfirmDialog(this, parent.langpack.getString("TargetPanel.empty_target"), p... | 3,240,166 |
public boolean isValidated() { String installPath = textField.getText(); boolean ok = true; // We put a warning if the specified target is nameless if (installPath.length() == 0) { int res = JOptionPane.showConfirmDialog(this, parent.langpack.getString("TargetPanel.empty_target"), p... | public boolean isValidated() { String installPath = textField.getText(); boolean ok = true; // We put a warning if the specified target is nameless if (installPath.length() == 0) { int res = JOptionPane.showConfirmDialog(this, parent.langpack.getString("TargetPanel.empty_target"), p... | 3,240,167 |
public boolean isValidated() { String installPath = textField.getText(); boolean ok = true; // We put a warning if the specified target is nameless if (installPath.length() == 0) { int res = JOptionPane.showConfirmDialog(this, parent.langpack.getString("TargetPanel.empty_target"), p... | public boolean isValidated() { String installPath = textField.getText(); boolean ok = true; // We put a warning if the specified target is nameless if (installPath.length() == 0) { int res = JOptionPane.showConfirmDialog(this, parent.langpack.getString("TargetPanel.empty_target"), p... | 3,240,168 |
public boolean isValidated() { String installPath = textField.getText(); boolean ok = true; // We put a warning if the specified target is nameless if (installPath.length() == 0) { int res = JOptionPane.showConfirmDialog(this, parent.langpack.getString("TargetPanel.empty_target"), p... | public boolean isValidated() { String installPath = textField.getText(); boolean ok = true; // We put a warning if the specified target is nameless if (installPath.length() == 0) { int res = JOptionPane.showConfirmDialog(this, parent.langpack.getString("TargetPanel.empty_target"), p... | 3,240,169 |
public void loadDefaultDir() { BufferedReader br = null; try { String os = System.getProperty("os.name"); InputStream in = null; if (os.regionMatches(true, 0, "windows", 0, 7)) in = parent.getResource("TargetPanel.dir.windows"); else if (os.regionMatches(true, 0, "mac os x", 0, 8)... | public void loadDefaultDir() { BufferedReader br = null; try { String os = System.getProperty("os.name"); InputStream in = null; if (os.regionMatches(true, 0, "windows", 0, 7)) in = parent.getResource("TargetPanel.dir.windows"); else if (os.regionMatches(true, 0, "mac os x", 0, 8)... | 3,240,170 |
public void loadDefaultDir() { BufferedReader br = null; try { String os = System.getProperty("os.name"); InputStream in = null; if (os.regionMatches(true, 0, "windows", 0, 7)) in = parent.getResource("TargetPanel.dir.windows"); else if (os.regionMatches(true, 0, "mac os x", 0, 8)... | public void loadDefaultDir() { BufferedReader br = null; try { String os = System.getProperty("os.name"); InputStream in = null; if (os.regionMatches(true, 0, "windows", 0, 7)) in = parent.getResource("TargetPanel.dir.windows"); else if (os.regionMatches(true, 0, "mac os x", 0, 8)... | 3,240,171 |
public void loadDefaultDir() { BufferedReader br = null; try { String os = System.getProperty("os.name"); InputStream in = null; if (os.regionMatches(true, 0, "windows", 0, 7)) in = parent.getResource("TargetPanel.dir.windows"); else if (os.regionMatches(true, 0, "mac os x", 0, 8)... | public void loadDefaultDir() { BufferedReader br = null; try { String os = System.getProperty("os.name"); InputStream in = null; if (os.regionMatches(true, 0, "windows", 0, 7)) in = parent.getResource("TargetPanel.dir.windows"); else if (os.regionMatches(true, 0, "mac os x", 0, 8)... | 3,240,172 |
public void loadDefaultDir() { BufferedReader br = null; try { String os = System.getProperty("os.name"); InputStream in = null; if (os.regionMatches(true, 0, "windows", 0, 7)) in = parent.getResource("TargetPanel.dir.windows"); else if (os.regionMatches(true, 0, "mac os x", 0, 8)... | public void loadDefaultDir() { BufferedReader br = null; try { String os = System.getProperty("os.name"); InputStream in = null; if (os.regionMatches(true, 0, "windows", 0, 7)) in = parent.getResource("TargetPanel.dir.windows"); else if (os.regionMatches(true, 0, "mac os x", 0, 8)... | 3,240,173 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.