| 3 |
|
import java.awt.BorderLayout; |
| 4 |
|
import java.awt.Desktop; |
| 5 |
|
import java.awt.GridLayout; |
| 6 |
+ |
import java.awt.Toolkit; |
| 7 |
+ |
import java.awt.datatransfer.Clipboard; |
| 8 |
+ |
import java.awt.datatransfer.StringSelection; |
| 9 |
|
import java.awt.event.ActionEvent; |
| 10 |
|
import java.awt.event.ItemEvent; |
| 11 |
|
import java.awt.event.ItemListener; |
| 408 |
|
private void showAbout() { |
| 409 |
|
new AboutDialog().setVisible(true); |
| 410 |
|
} |
| 411 |
< |
|
| 411 |
> |
|
| 412 |
|
@SuppressWarnings("unused") |
| 413 |
|
private void showHelp() { |
| 414 |
|
try { |
| 468 |
|
} |
| 469 |
|
|
| 470 |
|
@SuppressWarnings("unused") |
| 471 |
+ |
private void copyConfig() { |
| 472 |
+ |
StringBuffer b = new StringBuffer(); |
| 473 |
+ |
b.append("[code]"); |
| 474 |
+ |
for (Package p : PackageManager.getInstance().getInstalledMods()) |
| 475 |
+ |
b.append(String.format("%s %s%n", p.getPackageNumberString(), |
| 476 |
+ |
p.getName())); |
| 477 |
+ |
b.append("[/code]"); |
| 478 |
+ |
|
| 479 |
+ |
StringSelection selection = new StringSelection(b.toString()); |
| 480 |
+ |
Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); |
| 481 |
+ |
clipboard.setContents(selection, selection); |
| 482 |
+ |
} |
| 483 |
+ |
|
| 484 |
+ |
@SuppressWarnings("unused") |
| 485 |
|
private boolean reglobalizeVerify() { |
| 486 |
|
int res = JOptionPane.showConfirmDialog(this, |
| 487 |
|
bundle.getString("rebuildCore.text"), |
| 825 |
|
public void modSelectionChanged(ModTable source, Package m) { |
| 826 |
|
pkgInfo.updateInfo(m); |
| 827 |
|
} |
| 828 |
< |
|
| 828 |
> |
|
| 829 |
|
@SuppressWarnings("unused") |
| 830 |
|
private void clearFilter() { |
| 831 |
|
txtShowFilter.setText(""); |