JavaPropertiesPanel.java revision 4447
70N/A * trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
private boolean readUseOpenDSJavaHome;
private boolean readUseOpenDSJavaArgs;
private boolean firstDisplay = true;
public JavaPropertiesPanel()
createLayout();
return javaHome;
public boolean requiresScroll()
private void createLayout()
p.setOpaque(false);
renderer);
showAll =
firstDisplay = false;
initContents();
return allScriptNames;
return relevantScriptNames;
private boolean updatedByUser()
return updatedByUser;
return args;
return args;
return filteredArgs;
private void initContents()
catch (Throwable t)
catch (Throwable t)
if (v != null)
return null;
Throwable t)
if (t == null)
if (t instanceof OpenDsException)
private void disableComponents()
setEnabledOK(false);
private void enableComponents()
setEnabledOK(true);
public void okClicked()
private boolean isConfirmation = false;
return errorMessages;
return confirmationMessages;
Throwable t)
if (t == null)
boolean confirm = false;
confirm = true;
if (confirm)
launchTask();
if (t instanceof OpenDsException)
return javaFile;
private void launchTask()
getInfo());
dlg);
return propertiesFile;
private class JavaArgumentsDescriptor
private int hashCode;
return commandName;
return javaArguments;
public int hashCode()
return hashCode;
return toString;
boolean equals = o == this;
if (!equals)
if (o instanceof JavaArgumentsDescriptor)
equals =
return equals;
private boolean sortAscending = true;
int result;
int[] possibleResults = {
for (int i : possibleResults)
result = i;
if (!sortAscending)
return result;
public void forceResort()
public int getColumnCount()
public int getRowCount()
public boolean isSortAscending()
return sortAscending;
public int getSortColumn()
return sortColumn;
private void updateDataArray()
private boolean overwriteOpenDSJavaHome;
private boolean overwriteOpenDSJavaArgs;
return backendSet;
boolean canLaunch = true;
if (!isServerRunning())
canLaunch = false;
return canLaunch;
return null;
public void runTask()
catch (Throwable t)
lastException = t;
catch (Throwable t)
catch (Throwable t)
public void run()
toString(),