bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void pause() { playing = false; pause = true; syncSlider(); }
public void pause() { playing = false; pause = true; }
3,241,438
public void stop() { timer.stop(); playing = false; pause = false; up = true; syncSlider(); }
public void stop() { timer.stop(); playing = false; pause = false; up = true; syncSlider(); }
3,241,439
public void setQuitButtonText(String text) { if (text == null) text = langpack.getString("installer.quit"); quitButton.setText(text); }
public void setQuitButtonText(String text) { if (text == null) text = langpack.getString("installer.quit"); quitButton.setText(text); }
3,241,440
protected void wipeAborted() { Iterator it; // We set interrupt to all running Unpacker and wait 40 sec for maximum. // If interrupt is discarded (return value false), return immediately: if (!Unpacker.interruptAll(40000)) return; // Wipes them all in 2 stages UninstallD...
protected void wipeAborted() { Iterator it; // We set interrupt to all running Unpacker and wait 40 sec for maximum. // If interrupt is discarded (return value false), return immediately: if (!Unpacker.interruptAll(40000)) return; // Wipes them all in 2 stages UninstallD...
3,241,441
private void writeUninstallData() { try { // We get the data UninstallData udata = UninstallData.getInstance(); List files = udata.getFilesList(); ZipOutputStream outJar = installdata.uninstallOutJar; if (outJar == null) return; // W...
private void writeUninstallData() { try { // We get the data UninstallData udata = UninstallData.getInstance(); List files = udata.getFilesList(); ZipOutputStream outJar = installdata.uninstallOutJar; if (outJar == null) return; // W...
3,241,442
private void writeUninstallData() { try { // We get the data UninstallData udata = UninstallData.getInstance(); List files = udata.getFilesList(); ZipOutputStream outJar = installdata.uninstallOutJar; if (outJar == null) return; // W...
private void writeUninstallData() { try { // We get the data UninstallData udata = UninstallData.getInstance(); List files = udata.getFilesList(); ZipOutputStream outJar = installdata.uninstallOutJar; if (outJar == null) return; // W...
3,241,443
public KeyedObjectPool createPool() { return new GenericKeyedObjectPool(_factory,_maxActive,_whenExhaustedAction,_maxWait,_maxIdle,_maxTotal,_testOnBorrow,_testOnReturn,_timeBetweenEvictionRunsMillis,_numTestsPerEvictionRun,_minEvictableIdleTimeMillis,_testWhileIdle); }
public KeyedObjectPool createPool() { return new GenericKeyedObjectPool(_factory,_maxActive,_whenExhaustedAction,_maxWait,_maxIdle,_maxTotal,_minIdle,_testOnBorrow,_testOnReturn,_timeBetweenEvictionRunsMillis,_numTestsPerEvictionRun,_minEvictableIdleTimeMillis,_testWhileIdle); }
3,241,444
public void errorUnpack(String error) { this.packOpLabel.setText(error); idata.installSuccess = false; JOptionPane.showMessageDialog( this, error.toString(), parent.langpack.getString("installer.error"), JOptionPane.ERROR_MESSAGE); }
public void errorUnpack(String error) { this.packOpLabel.setText(error); idata.installSuccess = false; JOptionPane.showMessageDialog( this, error, parent.langpack.getString("installer.error"), JOptionPane.ERROR_MESSAGE); }
3,241,445
QuantumDef copy() { return new QuantumDef(family, pixelType, curveCoefficient, cdStart, cdEnd, bitResolution); }
QuantumDef copy() { return new QuantumDef(family, pixelType, curveCoefficient, cdStart, cdEnd, bitResolution); }
3,241,447
public InstallerFrame(String title, InstallData installdata) throws Exception { super(title); guiListener = new ArrayList(); visiblePanelMapping = new ArrayList(); this.installdata = installdata; this.langpack = installdata.langpack; // Sets the window events handler ...
public InstallerFrame(String title, InstallData installdata) throws Exception { super(title); guiListener = new ArrayList(); visiblePanelMapping = new ArrayList(); this.installdata = installdata; this.langpack = installdata.langpack; // Sets the window events handler ...
3,241,448
protected void loadConditions() { try { InputStream input = this.getResource(CONDITIONS_SPECRESOURCENAME); if (input == null) { // there seem to be no conditions return; } StdXMLParser parser = new StdXMLParser(); parser.set...
protected void loadConditions() { try { InputStream input = this.getResource(CONDITIONS_SPECRESOURCENAME); if (input == null) { // there seem to be no conditions return; } StdXMLParser parser = new StdXMLParser(); parser.set...
3,241,449
protected void loadConditions() { try { InputStream input = this.getResource(CONDITIONS_SPECRESOURCENAME); if (input == null) { // there seem to be no conditions return; } StdXMLParser parser = new StdXMLParser(); parser.set...
protected void loadConditions() { try { InputStream input = this.getResource(CONDITIONS_SPECRESOURCENAME); if (input == null) { // there seem to be no conditions return; } StdXMLParser parser = new StdXMLParser(); parser.set...
3,241,450
protected void loadConditions() { try { InputStream input = this.getResource(CONDITIONS_SPECRESOURCENAME); if (input == null) { // there seem to be no conditions return; } StdXMLParser parser = new StdXMLParser(); parser.set...
protected void loadConditions() { try { InputStream input = this.getResource(CONDITIONS_SPECRESOURCENAME); if (input == null) { // there seem to be no conditions return; } StdXMLParser parser = new StdXMLParser(); parser.set...
3,241,451
protected void buildQuery(Session session) throws HibernateException, SQLException { Criteria c = session.createCriteria(Image.class); c.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY); c.createCriteria("defaultPixels",LEFT_JOIN); // Add restrictions to the most distan...
protected void buildQuery(Session session) throws HibernateException, SQLException { Criteria c = session.createCriteria(Image.class); c.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY); Criteria pix = c.createCriteria("defaultPixels",LEFT_JOIN); pix.createCriteria("pixelsType",LEFT_...
3,241,452
private String getLanguageResourceString(String resource) throws ResourceNotFoundException { InputStream in; String resourcePath = this.resourceBasePath + resource + "_" + this.locale; in = this.getClass().getResourceAsStream(resourcePath); if (in != null) return resourcePath; else { // i...
private String getLanguageResourceString(String resource) throws ResourceNotFoundException { InputStream in; String resourcePath = this.resourceBasePath + resource + "_" + this.locale; in = ResourceManager.class.getResourceAsStream(resourcePath); if (in != null) return resourcePath; else { ...
3,241,453
private String getLanguageResourceString(String resource) throws ResourceNotFoundException { InputStream in; String resourcePath = this.resourceBasePath + resource + "_" + this.locale; in = this.getClass().getResourceAsStream(resourcePath); if (in != null) return resourcePath; else { // i...
private String getLanguageResourceString(String resource) throws ResourceNotFoundException { InputStream in; String resourcePath = this.resourceBasePath + resource + "_" + this.locale; in = ResourceManager.class.getResourceAsStream(resourcePath); if (in != null) return resourcePath; else { ...
3,241,454
private RenderingDef createDefaultRenderingDef(PixelsDimensions dims, PixelsStats stats, int pixelType) { QuantumDef qDef = new QuantumDef(QuantumFactory.LINEAR, pixelType, 1, 0, QuantumFactory.DEPTH_8BIT, QuantumFactory.DEPTH_8BIT); ChannelBindings[] waves = new ChannelBindings[dims.s...
private RenderingDef createDefaultRenderingDef(PixelsDimensions dims, PixelsStats stats, int pixelType) { QuantumDef qDef = new QuantumDef(QuantumFactory.LINEAR, pixelType, 1, 0, QuantumFactory.DEPTH_8BIT, QuantumFactory.DEPTH_8BIT); ChannelBindings[] waves = new ChannelBindings[dims.s...
3,241,455
private RenderingDef createDefaultRenderingDef(PixelsDimensions dims, PixelsStats stats, int pixelType) { QuantumDef qDef = new QuantumDef(QuantumFactory.LINEAR, pixelType, 1, 0, QuantumFactory.DEPTH_8BIT, QuantumFactory.DEPTH_8BIT); ChannelBindings[] waves = new ChannelBindings[dims.s...
private RenderingDef createDefaultRenderingDef(PixelsDimensions dims, PixelsStats stats, int pixelType) { QuantumDef qDef = new QuantumDef(QuantumFactory.LINEAR, pixelType, 1, 0, QuantumFactory.DEPTH_8BIT, QuantumFactory.DEPTH_8BIT); ChannelBindings[] waves = new ChannelBindings[dims.s...
3,241,456
private void initialize(MetadataSource source) { //Grab pixels metadata (create default display options if //none available). omeisPixelsID = source.getOmeisPixelsID(); pixelsDims = source.getPixelsDims(); pixelsStats = source.getPixelsStats(); renderingDef = source.get...
private void initialize(MetadataSource source) { //Grab pixels metadata (create default display options if //none available). omeisPixelsID = source.getOmeisPixelsID(); pixelsDims = source.getPixelsDims(); pixelsStats = source.getPixelsStats(); renderingDef = source.get...
3,241,457
private void initialize(MetadataSource source) { //Grab pixels metadata (create default display options if //none available). omeisPixelsID = source.getOmeisPixelsID(); pixelsDims = source.getPixelsDims(); pixelsStats = source.getPixelsStats(); renderingDef = source.get...
private void initialize(MetadataSource source) { //Grab pixels metadata (create default display options if //none available). omeisPixelsID = source.getOmeisPixelsID(); pixelsDims = source.getPixelsDims(); pixelsStats = source.getPixelsStats(); renderingDef = source.get...
3,241,458
private void initialize(MetadataSource source) { //Grab pixels metadata (create default display options if //none available). omeisPixelsID = source.getOmeisPixelsID(); pixelsDims = source.getPixelsDims(); pixelsStats = source.getPixelsStats(); renderingDef = source.get...
private void initialize(MetadataSource source) { //Grab pixels metadata (create default display options if //none available). omeisPixelsID = source.getOmeisPixelsID(); pixelsDims = source.getPixelsDims(); pixelsStats = source.getPixelsStats(); renderingDef = source.get...
3,241,459
private int[] setDefaultColor(int w) { int[] rgb = new int[3]; if (w == 0) { //blue rgb[0] = 0; rgb[1] = 0; rgb[2] = 255; } else if (w == 1) { //green rgb[0] = 0; rgb[1] = 255; rgb[2] = 0; } else { //red rgb[0] = 255; rgb[1] = 0; rgb[2] = 0; ...
private int[] setDefaultColor(int w) { int[] rgb = new int[3]; if (w == 0) { //blue rgb[0] = 0; rgb[1] = 0; rgb[2] = 255; } else if (w == 1) { //green rgb[0] = 0; rgb[1] = 255; rgb[2] = 0; } else { //red rgb[0] = 255; rgb[1] = 0; rgb[2] = 0; ...
3,241,461
private int[] setDefaultColor(int w) { int[] rgb = new int[3]; if (w == 0) { //blue rgb[0] = 0; rgb[1] = 0; rgb[2] = 255; } else if (w == 1) { //green rgb[0] = 0; rgb[1] = 255; rgb[2] = 0; } else { //red rgb[0] = 255; rgb[1] = 0; rgb[2] = 0; ...
private int[] setDefaultColor(int w) { int[] rgb = new int[3]; if (w == 0) { //blue rgb[0] = 0; rgb[1] = 0; rgb[2] = 255; } else if (w == 1) { //green rgb[0] = 0; rgb[1] = 255; rgb[2] = 0; } else { //red rgb[0] = 255; rgb[1] = 0; rgb[2] = 0; ...
3,241,462
private int[] setDefaultColor(int w) { int[] rgb = new int[3]; if (w == 0) { //blue rgb[0] = 0; rgb[1] = 0; rgb[2] = 255; } else if (w == 1) { //green rgb[0] = 0; rgb[1] = 255; rgb[2] = 0; } else { //red rgb[0] = 255; rgb[1] = 0; rgb[2] = 0; ...
private int[] setDefaultColor(int w) { int[] rgb = new int[3]; if (w == 0) { //blue rgb[0] = 0; rgb[1] = 0; rgb[2] = 255; } else if (w == 1) { //green rgb[0] = 0; rgb[1] = 255; rgb[2] = 0; } else { //red rgb[0] = 255; rgb[1] = 0; rgb[2] = 0; ...
3,241,463
private void loadInstallData() throws Exception { // Usefull variables InputStream in; DataInputStream datIn; ObjectInputStream objIn; int size; int i; // We load the variables Properties variables = null; in = getClass().getResourceAsStream("/vars"); if (null != in) { objIn = n...
private void loadInstallData() throws Exception { // Usefull variables InputStream in; DataInputStream datIn; ObjectInputStream objIn; int size; int i; // We load the variables Properties variables = null; in = getClass().getResourceAsStream("/vars"); if (null != in) { objIn = n...
3,241,464
private void loadInstallData() throws Exception { // Usefull variables InputStream in; DataInputStream datIn; ObjectInputStream objIn; int size; int i; // We load the variables Properties variables = null; in = getClass().getResourceAsStream("/vars"); if (null != in) { objIn = n...
private void loadInstallData() throws Exception { // Usefull variables InputStream in; DataInputStream datIn; ObjectInputStream objIn; int size; int i; // We load the variables Properties variables = null; in = getClass().getResourceAsStream("/vars"); if (null != in) { objIn = n...
3,241,465
public void panelActivate() { // Text handling loadInfo(); parseText(); // UI handling textArea.setText(info.toString()); textArea.setCaretPosition(0); }
public void panelActivate() { // Text handling loadInfo(); parseText(); // UI handling textArea.setText(info); textArea.setCaretPosition(0); }
3,241,466
private boolean readCheckBox (Object [] field) { String variable = null; String trueValue = null; String falseValue = null; JCheckBox box = null; try { box = (JCheckBox)field [POS_FIELD]; variable = (String)field [POS_VARIABLE]; trueValue = (String...
private boolean readCheckBox (Object [] field) { String variable = null; String trueValue = null; String falseValue = null; JCheckBox box = null; try { box = (JCheckBox)field [POS_FIELD]; variable = (String)field [POS_VARIABLE]; trueValue = (String...
3,241,468
private boolean readCheckBox (Object [] field) { String variable = null; String trueValue = null; String falseValue = null; JCheckBox box = null; try { box = (JCheckBox)field [POS_FIELD]; variable = (String)field [POS_VARIABLE]; trueValue = (String...
private boolean readCheckBox (Object [] field) { String variable = null; String trueValue = null; String falseValue = null; JCheckBox box = null; try { box = (JCheckBox)field [POS_FIELD]; variable = (String)field [POS_VARIABLE]; trueValue = (String...
3,241,469
private boolean readComboBox (Object [] field) { String variable = null; String value = null; JComboBox comboBox = null; try { variable = (String)field [POS_VARIABLE]; comboBox = (JComboBox)field [POS_FIELD]; value = ((TextValuePair)comboBox.getSelectedItem ()).getValue (); ...
private boolean readComboBox (Object [] field) { String variable = null; String value = null; JComboBox comboBox = null; try { variable = (String)field [POS_VARIABLE]; comboBox = (JComboBox)field [POS_FIELD]; value = ((TextValuePair)comboBox.getSelectedItem ()).getValue (); ...
3,241,470
private boolean readPasswordField (Object [] field) { PasswordGroup group = null; String variable = null; String message = null; try { group = (PasswordGroup)field [POS_GROUP]; variable = (String)field [POS_VARIABLE]; message = (String)field...
private boolean readPasswordField (Object [] field) { PasswordGroup group = null; String variable = null; String message = null; try { group = (PasswordGroup)field [POS_GROUP]; variable = (String)field [POS_VARIABLE]; message = (String)field...
3,241,471
private boolean readRadioButton (Object [] field) { String variable = null; String value = null; JRadioButton button = null; try { button = (JRadioButton)field [POS_FIELD]; if (!button.isSelected ()) { return (true); } variable = (String)field [POS_VARIABLE...
private boolean readRadioButton (Object [] field) { String variable = null; String value = null; JRadioButton button = null; try { button = (JRadioButton)field [POS_FIELD]; if (!button.isSelected ()) { return (true); } variable = (String)field [POS_VARIABLE...
3,241,472
private boolean readRuleField (Object [] field) { RuleInputField ruleField = null; String variable = null; try { ruleField = (RuleInputField)field [POS_FIELD]; variable = (String)field [POS_VARIABLE]; } catch (Throwable exception) { return (true); } if ((variable...
private boolean readRuleField (Object [] field) { RuleInputField ruleField = null; String variable = null; try { ruleField = (RuleInputField)field [POS_FIELD]; variable = (String)field [POS_VARIABLE]; } catch (Throwable exception) { return (true); } if ((variable...
3,241,473
private boolean readSearch (Object [] field) { String variable = null; String value = null; JComboBox comboBox = null; try { variable = (String)field [POS_VARIABLE]; comboBox = (JComboBox)field [POS_FIELD]; for (int i = 0; i < this.searchFields.size(); ++i) { SearchFiel...
private boolean readSearch (Object [] field) { String variable = null; String value = null; JComboBox comboBox = null; try { variable = (String)field [POS_VARIABLE]; comboBox = (JComboBox)field [POS_FIELD]; for (int i = 0; i < this.searchFields.size(); ++i) { SearchFiel...
3,241,474
private boolean readTextField (Object [] field) { JTextField textField = null; String variable = null; String value = null; try { textField = (JTextField)field [POS_FIELD]; variable = (String)field [POS_VARIABLE]; value = textField.getText (); } catch (Throwab...
private boolean readTextField (Object [] field) { JTextField textField = null; String variable = null; String value = null; try { textField = (JTextField)field [POS_FIELD]; variable = (String)field [POS_VARIABLE]; value = textField.getText (); } catch (Throwab...
3,241,475
private List [] getListenerLists() throws Exception { ArrayList [] uninstaller = new ArrayList[] {new ArrayList(),new ArrayList()}; // Load listeners if exist InputStream in; ObjectInputStream objIn; in = getClass().getResourceAsStream("/uninstallerListeners"); if( in != null ) { objIn = ne...
private List [] getListenerLists() throws Exception { ArrayList [] uninstaller = new ArrayList[] {new ArrayList(),new ArrayList()}; // Load listeners if exist InputStream in; ObjectInputStream objIn; in = getClass().getResourceAsStream("/uninstallerListeners"); if( in != null ) { objIn = ne...
3,241,476
public void removeEditor() { switch (model.getState()) { case DISCARDED: //case SAVE: throw new IllegalStateException("This method cannot be " + "invoked in the DISCARDED, SAVE state."); } Editor editor = model.getEditor(); ...
public void removeEditor() { switch (model.getState()) { case DISCARDED: //case SAVE: throw new IllegalStateException("This method cannot be " + "invoked in the DISCARDED, SAVE state."); } Editor editor = model.getEditor(); ...
3,241,477
public static File findJarFile(Class clazz) { String resource = clazz.getName().replace('.', '/') + ".class"; URL url = ClassLoader.getSystemResource(resource); if (!url.getProtocol().equals("jar")) return null; String path = url.getFile(); // starts at "file:..." (use getPath(...
public static File findJarFile(Class clazz) { String resource = clazz.getName().replace('.', '/') + ".class"; URL url = ClassLoader.getSystemResource(resource); if (!"jar".equals(url.getProtocol())) return null; String path = url.getFile(); // starts at "file:..." (use getPath(...
3,241,478
private void initMethod(Method method) { int mod = method.getModifiers(); if ((mod & Modifier.PUBLIC) == 0 || (mod & Modifier.STATIC) == 0) throw new IllegalArgumentException("Method not public and static"); Class[] params = method.getParameterTypes(); if (params.length != ...
private void initMethod(Method method) { int mod = method.getModifiers(); if ((mod & Modifier.PUBLIC) == 0 || (mod & Modifier.STATIC) == 0) throw new IllegalArgumentException("Method not public and static"); Class[] params = method.getParameterTypes(); if (params.length != ...
3,241,479
protected void processPI() throws Exception { XMLUtil.skipWhitespace(this.reader, '&', null, null); String target = XMLUtil.scanIdentifier(this.reader, '&', this.entityResolver); XMLUtil.skipWhitespace(this.reader, '&', null, null); Reader reader = new ContentReader(this.reader, this....
protected void processPI() throws Exception { XMLUtil.skipWhitespace(this.reader, '&', null, null); String target = XMLUtil.scanIdentifier(this.reader, '&', this.entityResolver); XMLUtil.skipWhitespace(this.reader, '&', null, null); Reader reader = new ContentReader(this.reader, this....
3,241,480
protected void processSpecialTag(boolean allowCDATA) throws Exception { char ch = XMLUtil.read(this.reader, null, '&', this.entityResolver); switch (ch) { case '[': if (allowCDATA) { this.processCDATA(); } else { ...
protected void processSpecialTag(boolean allowCDATA) throws Exception { char ch = XMLUtil.read(this.reader, null, '&', this.entityResolver); switch (ch) { case '[': if (allowCDATA) { this.processCDATA(); } else { ...
3,241,481
public ZipOutputStream addPack(int packNumber, String name, boolean required, String description) throws Exception { sendMsg("Adding pack #" + packNumber + " : " + name + " ..."); // Adds it in the packs array Pack pack = new Pack(name, description, required); packs.add(pa...
public ZipOutputStream addPack(int packNumber, String name, String targetOs, boolean required, String description) throws Exception { sendMsg("Adding pack #" + packNumber + " : " + name + " ..."); // Adds it in the packs array Pack pack = new Pack(name, description, required)...
3,241,483
public ZipOutputStream addPack(int packNumber, String name, boolean required, String description) throws Exception { sendMsg("Adding pack #" + packNumber + " : " + name + " ..."); // Adds it in the packs array Pack pack = new Pack(name, description, required); packs.add(pa...
public ZipOutputStream addPack(int packNumber, String name, boolean required, String description) throws Exception { sendMsg("Adding pack #" + packNumber + " : " + name + " ..."); // Adds it in the packs array Pack pack = new Pack(name, description, targetOs, required); pa...
3,241,484
private static Lender getLender(final FactoryConfig config) { final BorrowPolicy borrowPolicy = config.borrowPolicy; Lender lender; if (config.maxIdle != 0) { if (BorrowPolicy.FIFO.equals(borrowPolicy)) { lender = new FifoLender(); } else if (BorrowPolicy.LI...
private static Lender getLender(final FactoryConfig config) { final BorrowPolicy borrowPolicy = config.borrowPolicy; Lender lender; if (config.maxIdle != 0) { if (BorrowPolicy.FIFO.equals(borrowPolicy)) { lender = new FifoLender(); } else if (BorrowPolicy.LI...
3,241,486
public void setCurrentDetails() { LocalAdmin localAdmin = (LocalAdmin) sf.getAdminService(); ITypes iTypes = sf.getTypesService(); IUpdate iUpdate = sf.getUpdateService(); clearCurrentDetails(); if (ec == null) throw new InternalException( "EventContext is null in EventContext. Invalid configuration."); if...
public void setCurrentDetails() { LocalAdmin localAdmin = (LocalAdmin) sf.getAdminService(); ITypes iTypes = sf.getTypesService(); IUpdate iUpdate = sf.getUpdateService(); clearCurrentDetails(); if (ec == null) throw new InternalException( "EventContext is null in EventContext. Invalid configuration."); if...
3,241,487
public void setCurrentDetails() { LocalAdmin localAdmin = (LocalAdmin) sf.getAdminService(); ITypes iTypes = sf.getTypesService(); IUpdate iUpdate = sf.getUpdateService(); clearCurrentDetails(); if (ec == null) throw new InternalException( "EventContext is null in EventContext. Invalid configuration."); if...
public void setCurrentDetails() { LocalAdmin localAdmin = (LocalAdmin) sf.getAdminService(); ITypes iTypes = sf.getTypesService(); IUpdate iUpdate = sf.getUpdateService(); clearCurrentDetails(); if (ec == null) throw new InternalException( "EventContext is null in EventContext. Invalid configuration."); if...
3,241,488
public ShellLink (int type, String name) throws Exception, IllegalArgumentException { if ((type < MIN_TYPE) || (type > MAX_TYPE) ) { throw (new IllegalArgumentException ("the type parameter used an illegal value")); } if (name == null) { throw (new IllegalArg...
publicShellLink(inttype,Stringname)throwsException,IllegalArgumentException{if((type<MIN_TYPE)||(type>MAX_TYPE)){throw(newIllegalArgumentException("thetypeparameterusedanillegalvalue"));}if(name==null){throw(newIllegalArgumentException("thenameparameterwasnull"));}linkName=name;linkType=type;initialize();if(GetLinkPath...
3,241,489
private void get () throws Exception { if (GetArguments () != SL_OK) { throw (new Exception ("could not get arguments")); } if (GetDescription () != SL_OK) { throw (new Exception ("could not get description")); } if (GetHotkey () != SL_OK) { throw (new Exception ("could not get...
private void get () throws Exception { if (GetArguments () != SL_OK) { throw (new Exception ("could not get arguments")); } if (GetDescription () != SL_OK) { throw (new Exception ("could not get description")); } if (GetHotkey () != SL_OK) { throw (new Exception ("could not get...
3,241,490
private void get () throws Exception { if (GetArguments () != SL_OK) { throw (new Exception ("could not get arguments")); } if (GetDescription () != SL_OK) { throw (new Exception ("could not get description")); } if (GetHotkey () != SL_OK) { throw (new Exception ("could not get...
private void get () throws Exception { if (GetArguments () != SL_OK) { throw (new Exception ("could not get arguments")); } if (GetDescription () != SL_OK) { throw (new Exception ("could not get description")); } if (GetHotkey () != SL_OK) { throw (new Exception ("could not get...
3,241,491
public void save () throws Exception { // set all values on the native side set (); // make sure the target actually resolves int result = Resolve (); if (result != SL_OK) { throw (new Exception ("cannot resolve target")); } // make sure the directory exists File directory = new Fi...
public void save () throws Exception { // set all values on the native side set (); // make sure the target actually resolves int result = Resolve (); if (result != SL_OK) { throw (new Exception ("cannot resolve target")); } // make sure the directory exists File directory = new Fi...
3,241,493
public void save () throws Exception { // set all values on the native side set (); // make sure the target actually resolves int result = Resolve (); if (result != SL_OK) { throw (new Exception ("cannot resolve target")); } // make sure the directory exists File directory = new Fi...
public void save () throws Exception { // set all values on the native side set (); // make sure the target actually resolves int result = Resolve (); if (result != SL_OK) { throw (new Exception ("cannot resolve target")); } // make sure the directory exists File directory = new Fi...
3,241,494
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
3,241,496
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
3,241,497
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
3,241,498
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
3,241,499
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
3,241,500
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
3,241,501
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
3,241,502
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
3,241,503
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
3,241,504
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
3,241,505
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String sysos = System.getProperty("os.name"); String syskey = "unix"; if (sysos.regionMatches(true, 0, "windows", 0, 7)) { syskey = "windows"; } else if (sysos.regionMatches(true, 0, "mac", 0, 3))...
3,241,506
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); parent.setQuitButtonText(parent.langpack.getString("FinishPanel.done")); parent.setQuitButtonIcon("done"); if (idata.installSuccess) { // We set the information ...
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); parent.setQuitButtonText(parent.langpack.getString("FinishPanel.done")); parent.setQuitButtonIcon("done"); if (idata.installSuccess) { // We set the information ...
3,241,507
public int executeFiles() { int exitStatus = 0; String[] output = new String[2]; String pathSep = System.getProperty("path.separator"); String osName = System.getProperty("os.name").toLowerCase(); String permissions = (System.getProperty("user.name").equals("root")) ? "a+x" : "u+x"; // loop through...
public int executeFiles(int currentStage) { int exitStatus = 0; String[] output = new String[2]; String pathSep = System.getProperty("path.separator"); String osName = System.getProperty("os.name").toLowerCase(); String permissions = (System.getProperty("user.name").equals("root")) ? "a+x" : "u+x"; ...
3,241,508
public int executeFiles() { int exitStatus = 0; String[] output = new String[2]; String pathSep = System.getProperty("path.separator"); String osName = System.getProperty("os.name").toLowerCase(); String permissions = (System.getProperty("user.name").equals("root")) ? "a+x" : "u+x"; // loop through...
public int executeFiles() { int exitStatus = 0; String[] output = new String[2]; String pathSep = System.getProperty("path.separator"); String osName = System.getProperty("os.name").toLowerCase(); String permissions = (System.getProperty("user.name").equals("root")) ? "a+x" : "u+x"; // loop through...
3,241,509
public int executeFiles() { int exitStatus = 0; String[] output = new String[2]; String pathSep = System.getProperty("path.separator"); String osName = System.getProperty("os.name").toLowerCase(); String permissions = (System.getProperty("user.name").equals("root")) ? "a+x" : "u+x"; // loop through...
public int executeFiles() { int exitStatus = 0; String[] output = new String[2]; String pathSep = System.getProperty("path.separator"); String osName = System.getProperty("os.name").toLowerCase(); String permissions = (System.getProperty("user.name").equals("root")) ? "a+x" : "u+x"; // loop through...
3,241,510
public int executeFiles() { int exitStatus = 0; String[] output = new String[2]; String pathSep = System.getProperty("path.separator"); String osName = System.getProperty("os.name").toLowerCase(); String permissions = (System.getProperty("user.name").equals("root")) ? "a+x" : "u+x"; // loop through...
public int executeFiles() { int exitStatus = 0; String[] output = new String[2]; String pathSep = System.getProperty("path.separator"); String osName = System.getProperty("os.name").toLowerCase(); String permissions = (System.getProperty("user.name").equals("root")) ? "a+x" : "u+x"; // loop through...
3,241,511
public int executeFiles() { int exitStatus = 0; String[] output = new String[2]; String pathSep = System.getProperty("path.separator"); String osName = System.getProperty("os.name").toLowerCase(); String permissions = (System.getProperty("user.name").equals("root")) ? "a+x" : "u+x"; // loop through...
publicintexecuteFiles(){intexitStatus=0;String[]output=newString[2];StringpathSep=System.getProperty("path.separator");StringosName=System.getProperty("os.name").toLowerCase();Stringpermissions=(System.getProperty("user.name").equals("root"))?"a+x":"u+x";//loopthroughallexecutablesIteratorefileIterator=files.iterator()...
3,241,512
public Pack(String name, String description, List osConstraints, boolean required, boolean preselected) { this.name = name; this.description = description; this.osConstraints = osConstraints; this.required = required; this.preselected = preselected; nbytes = 0; }
public Pack( String name, String description, List osConstraints, boolean required, boolean preselected) { this.name = name; this.description = description; this.osConstraints = osConstraints; this.required = required; this.preselected = preselected; nbytes = 0; }
3,241,513
public static String toByteUnitsString(int bytes) { if (bytes < KILOBYTES) return String.valueOf(bytes) + " bytes"; else if (bytes < (MEGABYTES)) { double value = bytes / KILOBYTES; return formatter.format(value) + " KB"; } else if (bytes < (GIGABYTES)) { double value = bytes / ...
public static String toByteUnitsString(int bytes) { if (bytes < KILOBYTES) return String.valueOf(bytes) + " bytes"; else if (bytes < (MEGABYTES)) { double value = bytes / KILOBYTES; return formatter.format(value) + " KB"; } else if (bytes < (GIGABYTES)) { double value = bytes / ...
3,241,514
public static String toByteUnitsString(int bytes) { if (bytes < KILOBYTES) return String.valueOf(bytes) + " bytes"; else if (bytes < (MEGABYTES)) { double value = bytes / KILOBYTES; return formatter.format(value) + " KB"; } else if (bytes < (GIGABYTES)) { double value = bytes / ...
public static String toByteUnitsString(int bytes) { if (bytes < KILOBYTES) return String.valueOf(bytes) + " bytes"; else if (bytes < (MEGABYTES)) { double value = bytes / KILOBYTES; return formatter.format(value) + " KB"; } else if (bytes < (GIGABYTES)) { double value = bytes / ...
3,241,515
public void run() { CursorableLinkedList.Cursor cursor = null; while(!_cancelled) { long sleeptime = 0L; synchronized(GenericObjectPool.this) { sleeptime = _timeBetweenEvictionRunsMillis; } try { ...
public void run() { CursorableLinkedList.Cursor cursor = null; while(!_cancelled) { long sleeptime = 0L; synchronized(GenericObjectPool.this) { sleeptime = _timeBetweenEvictionRunsMillis; } try { ...
3,241,516
PixelsDimensions getPixelsDimensions(long pixelsID) throws DSOutOfServiceException, DSAccessException { try { IQuery query = getIQueryService(); Pixels pixs = (Pixels) query.get(Pixels.class, pixelsID); return (PixelsDimensions) query.get(PixelsDimensions.class, ...
PixelsDimensions getPixelsDimensions(long pixelsID) throws DSOutOfServiceException, DSAccessException { try { IQuery query = getIQueryService(); Pixels pixs = (Pixels) query.get(Pixels.class, pixs.getPixelsDimensions().getId().longValue()); return (PixelsDimensions)...
3,241,517
ExperimenterData login(String userName, String password) throws DSOutOfServiceException { System.getProperties().setProperty("omero.user", userName); //TODO: Remove it asap System.getProperties().setProperty("omero.pass", "ome"); //System.getProperties().setProperty("omero.pass...
ExperimenterData login(String userName, String password) throws DSOutOfServiceException { System.getProperties().setProperty("omero.user", userName); //TODO: Remove it asap System.getProperties().setProperty("omero.pass", "ome"); //System.getProperties().setProperty("omero.pass...
3,241,518
public void actionPerformed(ActionEvent e) { // Prepares the file chooser JFileChooser fc = new JFileChooser(); fc.setCurrentDirectory(new File(idata.getInstallPath())); fc.setMultiSelectionEnabled(false); fc.addChoosableFileFilter(fc.getAcceptAllFileFilter()); //fc.setCurrentDirectory(new File("."...
public void actionPerformed(ActionEvent e) { // Prepares the file chooser JFileChooser fc = new JFileChooser(); fc.setCurrentDirectory(new File(idata.getInstallPath())); fc.setMultiSelectionEnabled(false); fc.addChoosableFileFilter(fc.getAcceptAllFileFilter()); //fc.setCurrentDirectory(new File("."...
3,241,519
public void actionPerformed(ActionEvent e) { // Prepares the file chooser JFileChooser fc = new JFileChooser(); fc.setCurrentDirectory(new File(idata.getInstallPath())); fc.setMultiSelectionEnabled(false); fc.addChoosableFileFilter(fc.getAcceptAllFileFilter()); //fc.setCurrentDirectory(new File("."...
public void actionPerformed(ActionEvent e) { // Prepares the file chooser JFileChooser fc = new JFileChooser(); fc.setCurrentDirectory(new File(idata.getInstallPath())); fc.setMultiSelectionEnabled(false); fc.addChoosableFileFilter(fc.getAcceptAllFileFilter()); //fc.setCurrentDirectory(new File("."...
3,241,520
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We set the information centerPanel.add(new JLabel(parent.langpack.getString("FinishPanel.success"), parent.icons.getImageIcon("information"), JLabel.TRAILING)); centerPanel...
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We set the information centerPanel.add(new JLabel(parent.langpack.getString("FinishPanel.success"), parent.icons.getImageIcon("information"), JLabel.TRAILING)); centerPanel...
3,241,521
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We set the information centerPanel.add(new JLabel(parent.langpack.getString("FinishPanel.success"), parent.icons.getImageIcon("information"), JLabel.TRAILING)); centerPanel...
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We set the information centerPanel.add(new JLabel(parent.langpack.getString("FinishPanel.success"), parent.icons.getImageIcon("information"), JLabel.TRAILING)); centerPanel...
3,241,522
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We set the information centerPanel.add(new JLabel(parent.langpack.getString("FinishPanel.success"), parent.icons.getImageIcon("information"), JLabel.TRAILING)); centerPanel...
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We set the information centerPanel.add(new JLabel(parent.langpack.getString("FinishPanel.success"), parent.icons.getImageIcon("information"), JLabel.TRAILING)); centerPanel...
3,241,523
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We set the information centerPanel.add(new JLabel(parent.langpack.getString("FinishPanel.success"), parent.icons.getImageIcon("information"), JLabel.TRAILING)); centerPanel...
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We set the information centerPanel.add(new JLabel(parent.langpack.getString("FinishPanel.success"), parent.icons.getImageIcon("information"), JLabel.TRAILING)); centerPanel...
3,241,524
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We set the information centerPanel.add(new JLabel(parent.langpack.getString("FinishPanel.success"), parent.icons.getImageIcon("information"), JLabel.TRAILING)); centerPanel...
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We set the information centerPanel.add(new JLabel(parent.langpack.getString("FinishPanel.success"), parent.icons.getImageIcon("information"), JLabel.TRAILING)); centerPanel...
3,241,525
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We set the information centerPanel.add(new JLabel(parent.langpack.getString("FinishPanel.success"), parent.icons.getImageIcon("information"), JLabel.TRAILING)); centerPanel...
public void panelActivate() { parent.lockNextButton(); parent.lockPrevButton(); if (idata.installSuccess) { // We set the information centerPanel.add(new JLabel(parent.langpack.getString("FinishPanel.success"), parent.icons.getImageIcon("information"), JLabel.TRAILING)); centerPanel...
3,241,526
protected void setUp() throws Exception { super.setUp(); sf = new MockServiceFactory(); ec = new ThreadLocalEventContext(); sec = new BasicSecuritySystem (sf,ec ); sf.mockAdmin = mock(IAdmin.class); sf.mockQuery = mock(LocalQuery.class); sf.mockTyp...
protected void setUp() throws Exception { super.setUp(); sf = new MockServiceFactory(); ec = new ThreadLocalEventContext(); sec = new BasicSecuritySystem (sf,ec ); sf.mockAdmin = mock(IAdmin.class); sf.mockQuery = mock(LocalQuery.class); sf.mockTyp...
3,241,527
public abstract void addLangPack(String iso3, InputStream input) throws Exception;
public abstract void addLangPack(String iso3, InputStream input) throws Exception;
3,241,528
public abstract void addNativeLibrary(String name, InputStream input) throws Exception;
public abstract void addNativeLibrary(String name, InputStream input) throws Exception;
3,241,529
public abstract ZipOutputStream addPack(int packNumber, String name, List osConstraints, boolean required, String description, boolean preselected) throws Exception;
public abstract ZipOutputStream addPack(int packNumber, String name, List osConstraints, boolean required, String description, boolean preselected) throws Exception;
3,241,530
public abstract void addPanelClass(String classFilename, InputStream input) throws Exception;
public abstract void addPanelClass(String classFilename, InputStream input) throws Exception;
3,241,531
public abstract void addResource(String resId, InputStream input) throws Exception;
public abstract void addResource(String resId, InputStream input) throws Exception;
3,241,532
protected long copyStream(InputStream in, OutputStream out) throws IOException { byte[] buffer = new byte[5120]; long bytesCopied = 0; int bytesInBuffer; while ((bytesInBuffer = in.read(buffer)) != -1) { out.write(buffer, 0, bytesInBuffer); bytesCopied += bytesInBuffer; } return by...
protected long copyStream(InputStream in, OutputStream out) throws IOException { byte[] buffer = new byte[5120]; long bytesCopied = 0; int bytesInBuffer; while ((bytesInBuffer = in.read(buffer)) != -1) { out.write(buffer, 0, bytesInBuffer); bytesCopied += bytesInBuffer; } return by...
3,241,533
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = n...
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = n...
3,241,534
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = n...
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream(is); } if (skeleton_is == null) { skeleton_is = ne...
3,241,535
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = n...
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = n...
3,241,536
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = n...
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = n...
3,241,537
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = n...
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = n...
3,241,538
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = n...
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("/lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = n...
3,241,539
public Object getValueAt(int rowIndex, int columnIndex) { Pack pack = (Pack) packs.get(rowIndex); switch (columnIndex) { case 0 : int val = 0; if (pack.required) { val = -1; } else { val = (packsToInstall.contains(pack) ? 1 ...
public Object getValueAt(int rowIndex, int columnIndex) { Pack pack = (Pack) packs.get(rowIndex); switch (columnIndex) { case 0 : int val = 0; if (pack.required) { val = -1; } else { val = (packsToInstall.contains(pack) ? 1 ...
3,241,540
public void valueChanged(ListSelectionEvent e) { int i = packsTable.getSelectedRow(); if (i >= 0) { Pack pack = (Pack) idata.availablePacks.get(i); String desc = ""; if (pack.id != null && !pack.id.equals("")) { desc = langpack.getString(pack.id+".description"); } if (de...
public void valueChanged(ListSelectionEvent e) { int i = packsTable.getSelectedRow(); if (i >= 0) { Pack pack = (Pack) idata.availablePacks.get(i); String desc = ""; if (langpack != null && pack.id != null && !pack.id.equals("")) { desc = langpack.getString(pack.id+".description")...
3,241,541
public HTMLLicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout layout = new GridBagLayout(); gbConstraints = new GridBagConstraints(); setLayout(layout); // We load the licence loadLicence(); // We put our components infoLabel = new JL...
public HTMLLicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout layout = new GridBagLayout(); gbConstraints = new GridBagConstraints(); setLayout(layout); // We load the licence loadLicence(); // We put our components infoLabel = new JL...
3,241,542
public HTMLLicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout layout = new GridBagLayout(); gbConstraints = new GridBagConstraints(); setLayout(layout); // We load the licence loadLicence(); // We put our components infoLabel = new JL...
public HTMLLicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout layout = new GridBagLayout(); gbConstraints = new GridBagConstraints(); setLayout(layout); // We load the licence loadLicence(); // We put our components infoLabel = new JL...
3,241,543
public HTMLLicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout layout = new GridBagLayout(); gbConstraints = new GridBagConstraints(); setLayout(layout); // We load the licence loadLicence(); // We put our components infoLabel = new JL...
public HTMLLicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout layout = new GridBagLayout(); gbConstraints = new GridBagConstraints(); setLayout(layout); // We load the licence loadLicence(); // We put our components infoLabel = new JL...
3,241,544