mirror of
https://github.com/mirror/jdownloader.git
synced 2024-10-07 09:03:39 +00:00
git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@13455 ebf7c1c2-ba36-0410-9fe8-c592906822b4
This commit is contained in:
parent
f395ebc5c7
commit
6d711880f6
@ -59,7 +59,6 @@
|
||||
<attribute name="javadoc_location" value="jar:platform:/resource/jd/ressourcen/code-ressourcen/Substance_docs.zip!/docs"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/AppWorkUtils"/>
|
||||
<classpathentry kind="lib" path="ressourcen/libs/laf/syntheticaBlackEye.jar"/>
|
||||
<classpathentry kind="lib" path="ressourcen/libs/laf/syntheticaGreenDream.jar"/>
|
||||
<classpathentry kind="lib" path="ressourcen/libs/image4j.jar"/>
|
||||
@ -92,5 +91,6 @@
|
||||
<classpathentry kind="lib" path="ressourcen/libs_ext/AppleJavaExtensions.jar"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/JDBrowser"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/JDUpdater"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/AppWorkUtils"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
@ -1,52 +0,0 @@
|
||||
// jDownloader - Downloadmanager
|
||||
// Copyright (C) 2009 JD-Team support@jdownloader.org
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
package jd.gui.swing.dialog;
|
||||
|
||||
import java.awt.Image;
|
||||
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
import org.appwork.utils.swing.dialog.AbstractDialog;
|
||||
|
||||
/**
|
||||
* A Basic dialog, that accepts a JPanel.
|
||||
*
|
||||
* @author thomas
|
||||
*/
|
||||
public class ContainerDialog extends AbstractDialog<Integer> {
|
||||
|
||||
private static final long serialVersionUID = -348017625663435924L;
|
||||
private final JPanel panel;
|
||||
|
||||
public ContainerDialog(final int flags, final String title, final JPanel panel, final Image icon, final String ok, final String cancel) {
|
||||
super(flags, title, null, ok, cancel);
|
||||
this.panel = panel;
|
||||
this.setIconImage(icon);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Integer createReturnValue() {
|
||||
return this.getReturnmask();
|
||||
}
|
||||
|
||||
@Override
|
||||
public JComponent layoutDialogContent() {
|
||||
return this.panel;
|
||||
}
|
||||
|
||||
}
|
@ -11,7 +11,7 @@
|
||||
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
//GNU General Public License for more details.
|
||||
//
|
||||
//You should have received a copy of the GNU General Public License
|
||||
//You should have received a copy of the GNU General Public License
|
||||
//along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
package jd.plugins.optional.remotecontrol;
|
||||
|
Loading…
Reference in New Issue
Block a user