forked from i2p/i2p.i2p
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vuze/BiglyBT Swing emulation layer for NDT Applet.
This is a simple shim to allow running the NDT Applet code with minimal modifications. From BiglyBT MLab plugin: Github rev e927dca, Aug. 18, 2018. From https://github.com/BiglySoftware/BiglyBT-plugin-mlab This is for Tcpbw100 from NDT 3.6.2b; not sufficient to compile Tcpbw100 from 3.7.0.2, changes to follow. License: GPLv2.
- Loading branch information
zzz
committed
Nov 13, 2018
1 parent
e204013
commit 71d8f0e
Showing
37 changed files
with
1,607 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/ActionEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Created on May 20, 2010 | ||
* Created by Paul Gardner | ||
* | ||
* Copyright 2010 Vuze, Inc. All rights reserved. | ||
* | ||
* 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 2 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 ( see the LICENSE file ). | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
|
||
|
||
package com.vuze.plugins.mlab.tools.ndt.swingemu; | ||
|
||
public class | ||
ActionEvent | ||
{ | ||
public Object | ||
getSource() | ||
{ | ||
return( new Object()); | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/ActionListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Created on May 20, 2010 | ||
* Created by Paul Gardner | ||
* | ||
* Copyright 2010 Vuze, Inc. All rights reserved. | ||
* | ||
* 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 2 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 ( see the LICENSE file ). | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
|
||
|
||
package com.vuze.plugins.mlab.tools.ndt.swingemu; | ||
|
||
public interface ActionListener { | ||
|
||
} |
36 changes: 36 additions & 0 deletions
36
apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/AppletContext.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* Created on May 20, 2010 | ||
* Created by Paul Gardner | ||
* | ||
* Copyright 2010 Vuze, Inc. All rights reserved. | ||
* | ||
* 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 2 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 ( see the LICENSE file ). | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
|
||
|
||
package com.vuze.plugins.mlab.tools.ndt.swingemu; | ||
|
||
import java.net.URL; | ||
|
||
public class AppletContext { | ||
|
||
public void | ||
showDocument( | ||
URL url ) | ||
{ | ||
|
||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BadLocationException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Created on May 20, 2010 | ||
* Created by Paul Gardner | ||
* | ||
* Copyright 2010 Vuze, Inc. All rights reserved. | ||
* | ||
* 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 2 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 ( see the LICENSE file ). | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
|
||
|
||
package com.vuze.plugins.mlab.tools.ndt.swingemu; | ||
|
||
public class | ||
BadLocationException | ||
extends Exception | ||
{ | ||
} |
34 changes: 34 additions & 0 deletions
34
apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BorderFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Created on May 20, 2010 | ||
* Created by Paul Gardner | ||
* | ||
* Copyright 2010 Vuze, Inc. All rights reserved. | ||
* | ||
* 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 2 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 ( see the LICENSE file ). | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
|
||
|
||
package com.vuze.plugins.mlab.tools.ndt.swingemu; | ||
|
||
public class BorderFactory { | ||
|
||
public static Component | ||
createTitledBorder( | ||
String str ) | ||
{ | ||
return( new Component()); | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BorderLayout.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Created on May 20, 2010 | ||
* Created by Paul Gardner | ||
* | ||
* Copyright 2010 Vuze, Inc. All rights reserved. | ||
* | ||
* 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 2 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 ( see the LICENSE file ). | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
|
||
|
||
package com.vuze.plugins.mlab.tools.ndt.swingemu; | ||
|
||
public class BorderLayout { | ||
|
||
public static final int NORTH = 1; | ||
public static final int SOUTH = 2; | ||
|
||
} |
37 changes: 37 additions & 0 deletions
37
apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BoxLayout.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* Created on May 20, 2010 | ||
* Created by Paul Gardner | ||
* | ||
* Copyright 2010 Vuze, Inc. All rights reserved. | ||
* | ||
* 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 2 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 ( see the LICENSE file ). | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
|
||
|
||
package com.vuze.plugins.mlab.tools.ndt.swingemu; | ||
|
||
public class BoxLayout { | ||
public static int X_AXIS = 1; | ||
public static int Y_AXIS = 2; | ||
|
||
public | ||
BoxLayout( | ||
Component c, | ||
int i ) | ||
{ | ||
|
||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Clipboard.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Created on May 20, 2010 | ||
* Created by Paul Gardner | ||
* | ||
* Copyright 2010 Vuze, Inc. All rights reserved. | ||
* | ||
* 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 2 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 ( see the LICENSE file ). | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
|
||
|
||
package com.vuze.plugins.mlab.tools.ndt.swingemu; | ||
|
||
public class Clipboard { | ||
|
||
public void | ||
setContents( | ||
StringSelection s, | ||
StringSelection t ) | ||
{ | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Color.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Created on May 20, 2010 | ||
* Created by Paul Gardner | ||
* | ||
* Copyright 2010 Vuze, Inc. All rights reserved. | ||
* | ||
* 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 2 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 ( see the LICENSE file ). | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
*/ | ||
|
||
|
||
|
||
package com.vuze.plugins.mlab.tools.ndt.swingemu; | ||
|
||
public class Color { | ||
public static Color BLUE = null; | ||
} |
Oops, something went wrong.