diff --git a/LICENSE.txt b/LICENSE.txt index 1f41f8653..865aaead9 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -274,6 +274,10 @@ Applications: Some images licensed under a Creative Commons 2.0 license. Silk icons: See licenses/LICENSE-SilkIcons.txt + Router Console M-Lab subsystem: + Copyright 2010 Vuze, Inc. All rights reserved. + See licenses/LICENSE-GPLv2.txt + Router Console NDT subsystem: Copyright (c) 2003 University of Chicago. All rights reserved. See licenses/LICENSE-NDT.txt diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/ActionEvent.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/ActionEvent.java new file mode 100644 index 000000000..07ad3711c --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/ActionEvent.java @@ -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()); + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/ActionListener.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/ActionListener.java new file mode 100644 index 000000000..618d37a3f --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/ActionListener.java @@ -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 { + +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/AppletContext.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/AppletContext.java new file mode 100644 index 000000000..95ad05d63 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/AppletContext.java @@ -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 ) + { + + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BadLocationException.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BadLocationException.java new file mode 100644 index 000000000..4a4f82724 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BadLocationException.java @@ -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 +{ +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BorderFactory.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BorderFactory.java new file mode 100644 index 000000000..9ccc0cb69 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BorderFactory.java @@ -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()); + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BorderLayout.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BorderLayout.java new file mode 100644 index 000000000..91b3e33ac --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BorderLayout.java @@ -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; + +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BoxLayout.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BoxLayout.java new file mode 100644 index 000000000..cbc98b8b3 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/BoxLayout.java @@ -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 ) + { + + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Clipboard.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Clipboard.java new file mode 100644 index 000000000..468158627 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Clipboard.java @@ -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 ) + { + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Color.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Color.java new file mode 100644 index 000000000..a70e4ccf9 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Color.java @@ -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; +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Component.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Component.java new file mode 100644 index 000000000..23e143c5e --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Component.java @@ -0,0 +1,147 @@ +/* + * 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 +Component +{ + public void + setTitle( + String s ) + { + } + + public void + add( + Component c ) + { + } + + public void + add( String str, Component c ) + { + } + + public void + add( int i, Component c ) + { + } + + public void + setEnabled( + boolean b ) + { + } + + public void + setVisible( + boolean b ) + { + } + + public void + setEditable( + boolean b ) + { + } + + public void + setResizable( + boolean b ) + { + } + + public void + setSize( + int i, int j ) + { + } + + public void + setPreferredSize( + Dimension d ) + { + } + + public void + setBorder( + Component c ) + { + } + + public void + setLayout( + BorderLayout l ) + { + } + + public void + setLayout( + BoxLayout l ) + { + } + + public void + setCursor( + Cursor c ) + { + } + + public void + setForeground( + Color c ) + { + } + + public void + pack() + { + + } + public void + repaint() + { + + } + + public Toolkit + getToolkit() + { + return( new Toolkit()); + } + + public void + addMouseListener( + MouseAdapter l ) + { + + } + + public void + addWindowListener( + WindowAdapter l ) + { + + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Cursor.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Cursor.java new file mode 100644 index 000000000..d853ad637 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Cursor.java @@ -0,0 +1,35 @@ +/* + * 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 Cursor { + public static Cursor HAND_CURSOR = null; + + public + Cursor( + Cursor c ) + { + + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Dimension.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Dimension.java new file mode 100644 index 000000000..7f2d1d249 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Dimension.java @@ -0,0 +1,29 @@ +/* + * 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 Dimension { + + public Dimension( int x, int y ){} +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JApplet.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JApplet.java new file mode 100644 index 000000000..1dc4af7c7 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JApplet.java @@ -0,0 +1,61 @@ +/* + * 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 JApplet extends JFrame{ + + public URL + getCodeBase() + { + return( null ); + } + + public AppletContext + getAppletContext() + { + return( null ); + } + + public String + getParameter( + String name ) + { + return( null ); + } + + public void + showStatus( + String str ) + { + System.out.println( "status: " + str ); + } + + public void + start() + { + + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JButton.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JButton.java new file mode 100644 index 000000000..1097c15ef --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JButton.java @@ -0,0 +1,42 @@ +/* + * 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 +JButton + extends Component +{ + public + JButton( + String name ) + { + } + + public void + addActionListener( + ActionListener l ) + { + + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JCheckBox.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JCheckBox.java new file mode 100644 index 000000000..2e455b2e9 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JCheckBox.java @@ -0,0 +1,51 @@ +/* + * 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 +JCheckBox + extends Component +{ + boolean selected; + + public + JCheckBox( + String str ) + { + + } + + public void + setSelected( + boolean b ) + { + selected = b; + } + + public boolean + isSelected() + { + return( selected ); + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JComboBox.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JComboBox.java new file mode 100644 index 000000000..44ef67181 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JComboBox.java @@ -0,0 +1,51 @@ +/* + * 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 +JComboBox + extends Component +{ + private int index; + + public void + setSelectedIndex( + int i ) + { + index = i; + } + + public int + getSelectedIndex() + { + return( index ); + } + + public void + addItem( + String str ) + { + + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JFrame.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JFrame.java new file mode 100644 index 000000000..a6984af5b --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JFrame.java @@ -0,0 +1,67 @@ +/* + * 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 +JFrame + extends Component +{ + private Panel content_pane = new Panel(); + + public + JFrame() + { + + } + + public + JFrame( + String s ) + { + + } + + public Panel + getContentPane() + { + return( content_pane ); + } + + public void + toBack() + { + } + + public void + destroy() + { + + } + + public void + dispose() + { + + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JLabel.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JLabel.java new file mode 100644 index 000000000..5f1b79a83 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JLabel.java @@ -0,0 +1,54 @@ +/* + * 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 +JLabel + extends Component +{ + public + JLabel() + { + } + + public + JLabel( + String s ) + { + + } + + public void + setText( + String s ) + { + + } + + public void + setAlignmentY( + float f ) + { + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JOptionPane.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JOptionPane.java new file mode 100644 index 000000000..313efd187 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JOptionPane.java @@ -0,0 +1,49 @@ +/* + * 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 +JOptionPane +{ + public static final int INFORMATION_MESSAGE = 0; + + public static void + showMessageDialog( + Object wha, + String str ) + { + System.out.println( "dialog: " + str ); + } + + public static void + showMessageDialog( + Object wha, + String str1, + String str2, + int a ) + { + System.out.println( "dialog: " + str1 + "/" + str2 ); + } + +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JPanel.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JPanel.java new file mode 100644 index 000000000..0b4a84984 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JPanel.java @@ -0,0 +1,43 @@ +/* + * 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 +JPanel + extends Component +{ + @Override + public void + add( Component c ) + { + + } + + @Override + public void + add( String str, Component c ) + { + + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JProgressBar.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JProgressBar.java new file mode 100644 index 000000000..9105bde5d --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JProgressBar.java @@ -0,0 +1,74 @@ +/* + * 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 +JProgressBar + extends Component +{ + private boolean indeterminate; + + public void + setString( + String str ) + { + } + + public void + setValue( + int i ) + { + } + + public void + setMinimum( + int i ) + { + } + + public void + setMaximum( + int i ) + { + } + + public void + setStringPainted( + boolean b ) + { + } + + public void + setIndeterminate( + boolean b ) + { + indeterminate = b; + } + + public boolean + isIndeterminate() + { + return( indeterminate ); + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JScrollPane.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JScrollPane.java new file mode 100644 index 000000000..aaa1ee7fd --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JScrollPane.java @@ -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; + +public class +JScrollPane + extends Component +{ + public + JScrollPane( + Component p ) + { + + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JSpinner.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JSpinner.java new file mode 100644 index 000000000..b330bc0dc --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JSpinner.java @@ -0,0 +1,49 @@ +/* + * 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 +JSpinner + extends Component +{ + private SpinnerNumberModel model; + + public int + getValue() + { + if ( model == null ){ + + return( 0 ); + } + + return( model.getValue()); + } + + public void + setModel( + SpinnerNumberModel _model ) + { + model = _model; + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JTextArea.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JTextArea.java new file mode 100644 index 000000000..05b93b984 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JTextArea.java @@ -0,0 +1,69 @@ +/* + * 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 +JTextArea + extends Component +{ + private String text = ""; + + public + JTextArea( + String str, + int a, + int b ) + { + text = str; + } + + public void + append( + String str ) + { + Tcpbw100UIWrapperListener listener = Tcpbw100UIWrapper.current_adapter; + + if ( listener != null ){ + + listener.reportDetail( str ); + + }else{ + + System.out.println( "text: " + str ); + } + + text += str; + } + + public String + getText() + { + return( text ); + } + + public void + selectAll() + { + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JTextPane.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JTextPane.java new file mode 100644 index 000000000..bd4cb3973 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/JTextPane.java @@ -0,0 +1,55 @@ +/* + * 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 +JTextPane + extends Component +{ + private StyledDocument sd = new StyledDocument(); + + public void + insertComponent( + Component comp ) + { + } + + public StyledDocument + getStyledDocument() + { + return( sd ); + } + + public void + setSelectionStart( + int i ) + { + } + + public void + setSelectionEnd( + int i ) + { + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/MouseAdapter.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/MouseAdapter.java new file mode 100644 index 000000000..eb5f6c61b --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/MouseAdapter.java @@ -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 MouseAdapter { + +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/MouseEvent.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/MouseEvent.java new file mode 100644 index 000000000..f6f89ef49 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/MouseEvent.java @@ -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 MouseEvent { + +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Panel.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Panel.java new file mode 100644 index 000000000..0ad981741 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Panel.java @@ -0,0 +1,40 @@ +/* + * 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 +Panel + extends Component +{ + public void + validate() + { + } + + public void + remove( + Component c ) + { + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/SpinnerNumberModel.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/SpinnerNumberModel.java new file mode 100644 index 000000000..6dfe58899 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/SpinnerNumberModel.java @@ -0,0 +1,49 @@ +/* + * 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 +SpinnerNumberModel +{ + private int value; + + public void + setValue( + int i ) + { + value = i; + } + + public int + getValue() + { + return( value ); + } + + public void + setMinimum( + int i ) + { + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/StringSelection.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/StringSelection.java new file mode 100644 index 000000000..0b72829fc --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/StringSelection.java @@ -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 StringSelection { + + public + StringSelection( + String s ) + { + + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/StyledDocument.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/StyledDocument.java new file mode 100644 index 000000000..ec805e57f --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/StyledDocument.java @@ -0,0 +1,58 @@ +/* + * 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 +StyledDocument +{ + public String str = ""; + + public int + getLength() + { + return( str.length()); + } + + public void + insertString( + int offset, + String s, + Object x ) + + throws BadLocationException + { + Tcpbw100UIWrapperListener listener = Tcpbw100UIWrapper.current_adapter; + + if ( listener != null ){ + + listener.reportSummary( s ); + + }else{ + + System.out.println( "doc: " + s ); + } + + str += s; + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Tcpbw100UIWrapper.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Tcpbw100UIWrapper.java new file mode 100644 index 000000000..0127e667f --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Tcpbw100UIWrapper.java @@ -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 +Tcpbw100UIWrapper +{ + public static Tcpbw100UIWrapperListener current_adapter; + + public + Tcpbw100UIWrapper( + Tcpbw100UIWrapperListener adapter ) + { + current_adapter = adapter; + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Tcpbw100UIWrapperListener.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Tcpbw100UIWrapperListener.java new file mode 100644 index 000000000..1888a5966 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Tcpbw100UIWrapperListener.java @@ -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; + +public interface +Tcpbw100UIWrapperListener +{ + public void + reportSummary( + String str ); + + public void + reportDetail( + String str ); +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Toolkit.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Toolkit.java new file mode 100644 index 000000000..25013e93f --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/Toolkit.java @@ -0,0 +1,33 @@ +/* + * 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 Toolkit { + + public Clipboard + getSystemClipboard() + { + return( new Clipboard()); + } +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/WindowAdapter.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/WindowAdapter.java new file mode 100644 index 000000000..2e0990429 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/WindowAdapter.java @@ -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 WindowAdapter { + +} diff --git a/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/WindowEvent.java b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/WindowEvent.java new file mode 100644 index 000000000..631ee54c5 --- /dev/null +++ b/apps/routerconsole/java/src/com/vuze/plugins/mlab/tools/ndt/swingemu/WindowEvent.java @@ -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 WindowEvent { + +}