mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
minor moving around
This commit is contained in:
@@ -383,8 +383,7 @@ public class ContributionTab extends JPanel {
|
||||
}
|
||||
|
||||
public void applyFilter() {
|
||||
String filter = getText();
|
||||
filter = filter.toLowerCase();
|
||||
String filter = getText().toLowerCase();
|
||||
|
||||
// Replace anything but 0-9, a-z, or : with a space
|
||||
filter = filter.replaceAll("[^\\x30-\\x39^\\x61-\\x7a\\x3a]", " ");
|
||||
|
||||
@@ -186,6 +186,22 @@ class DetailPanel extends JPanel {
|
||||
}
|
||||
|
||||
|
||||
public void remove() {
|
||||
clearStatusMessage();
|
||||
if (contrib.isInstalled() && contrib instanceof LocalContribution) {
|
||||
removeInProgress = true;
|
||||
installProgressBar.setVisible(true);
|
||||
installProgressBar.setIndeterminate(true);
|
||||
|
||||
ContribProgressBar monitor = new RemoveProgressBar(installProgressBar);
|
||||
getLocalContrib().removeContribution(getBase(), monitor, getStatusPanel());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
class UpdateProgressBar extends ContribProgressBar {
|
||||
public UpdateProgressBar(JProgressBar progressBar) {
|
||||
super(progressBar);
|
||||
@@ -213,17 +229,7 @@ class DetailPanel extends JPanel {
|
||||
}
|
||||
|
||||
|
||||
public void remove() {
|
||||
clearStatusMessage();
|
||||
if (contrib.isInstalled() && contrib instanceof LocalContribution) {
|
||||
removeInProgress = true;
|
||||
installProgressBar.setVisible(true);
|
||||
installProgressBar.setIndeterminate(true);
|
||||
|
||||
ContribProgressBar monitor = new RemoveProgressBar(installProgressBar);
|
||||
getLocalContrib().removeContribution(getBase(), monitor, getStatusPanel());
|
||||
}
|
||||
}
|
||||
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
class RemoveProgressBar extends ContribProgressBar {
|
||||
|
||||
Reference in New Issue
Block a user