From 75ee86cad9f42b975194b9870aa1decadae88d9c Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Wed, 10 Jul 2013 18:31:48 +0200 Subject: Implemented new about dialogue (by Andrew Azores). Andrew added to authors --- extra/net/sourceforge/javaws/about/HTMLPanel.java | 59 ----------- extra/net/sourceforge/javaws/about/Main.java | 117 --------------------- .../sourceforge/javaws/about/resources/about.html | 28 ----- .../javaws/about/resources/applications.html | 36 ------- .../sourceforge/javaws/about/resources/jamIcon.jpg | Bin 10580 -> 0 bytes .../sourceforge/javaws/about/resources/notes.html | 99 ----------------- 6 files changed, 339 deletions(-) delete mode 100644 extra/net/sourceforge/javaws/about/HTMLPanel.java delete mode 100644 extra/net/sourceforge/javaws/about/Main.java delete mode 100644 extra/net/sourceforge/javaws/about/resources/about.html delete mode 100644 extra/net/sourceforge/javaws/about/resources/applications.html delete mode 100644 extra/net/sourceforge/javaws/about/resources/jamIcon.jpg delete mode 100644 extra/net/sourceforge/javaws/about/resources/notes.html (limited to 'extra/net/sourceforge/javaws') diff --git a/extra/net/sourceforge/javaws/about/HTMLPanel.java b/extra/net/sourceforge/javaws/about/HTMLPanel.java deleted file mode 100644 index e544e32..0000000 --- a/extra/net/sourceforge/javaws/about/HTMLPanel.java +++ /dev/null @@ -1,59 +0,0 @@ -/* HTMLPanel.java - Copyright (C) 2008 Red Hat, Inc. - -This file is part of IcedTea. - -IcedTea 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, version 2. - -IcedTea 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 IcedTea; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. -*/ - -package net.sourceforge.javaws.about; - -import java.awt.BorderLayout; -import java.io.IOException; -import java.net.URL; - -import javax.swing.JPanel; -import javax.swing.JScrollPane; -import javax.swing.JEditorPane; - -public class HTMLPanel extends JPanel { - - JEditorPane pane; - - public HTMLPanel(URL url) throws IOException { - super(new BorderLayout()); - pane = new JEditorPane(url); - pane.setEditable(false); - JScrollPane scroller = new JScrollPane(pane); - add(scroller, BorderLayout.CENTER); - } -} diff --git a/extra/net/sourceforge/javaws/about/Main.java b/extra/net/sourceforge/javaws/about/Main.java deleted file mode 100644 index eec46ae..0000000 --- a/extra/net/sourceforge/javaws/about/Main.java +++ /dev/null @@ -1,117 +0,0 @@ -/* Main.java - Copyright (C) 2008 Red Hat, Inc. - -This file is part of IcedTea. - -IcedTea 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, version 2. - -IcedTea 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 IcedTea; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. -*/ - -package net.sourceforge.javaws.about; - -import java.awt.BorderLayout; -import java.awt.Dimension; -import java.awt.Toolkit; -import java.io.IOException; - -import javax.swing.JFrame; -import javax.swing.JPanel; -import javax.swing.JTabbedPane; -import javax.swing.UIManager; - - -public class Main extends JPanel { - - private final String notes = "/net/sourceforge/javaws/about/resources/notes.html"; - private final String apps = "/net/sourceforge/javaws/about/resources/applications.html"; - private final String about = "/net/sourceforge/javaws/about/resources/about.html"; - JTabbedPane tabbedPane; - - public Main() throws IOException { - super(new BorderLayout()); - - HTMLPanel notesPanel = new HTMLPanel(getClass().getResource(notes)); - HTMLPanel appsPanel = new HTMLPanel(getClass().getResource(apps)); - HTMLPanel aboutPanel = new HTMLPanel(getClass().getResource(about)); - - - - tabbedPane = new JTabbedPane(); - - tabbedPane.add("About IcedTea-Web and NetX", aboutPanel); - tabbedPane.add("Applications", appsPanel); - tabbedPane.add("Notes", notesPanel); - - tabbedPane.setPreferredSize(new Dimension(550,410)); - add(tabbedPane, BorderLayout.CENTER); - } - - private static void createAndShowGUI() { - - try { - UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); - } catch (Exception e) { - } - - JFrame frame = new JFrame("About IcedTea-Web and NetX"); - frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); - Main demo = null; - try { - demo = new Main(); - } catch (Exception e) { - e.printStackTrace(); - System.exit(1); - } - demo.setOpaque(true); - frame.setContentPane(demo); - frame.pack(); - centerDialog(frame); - frame.setVisible(true); - } - - private static void centerDialog(JFrame frame) { - Dimension screen = Toolkit.getDefaultToolkit().getScreenSize(); - Dimension dialogSize = frame.getSize(); - - frame.setLocation((screen.width - dialogSize.width)/2, - (screen.height - dialogSize.height)/2); - } - - public static void main(String[] args) { - javax.swing.SwingUtilities.invokeLater(new Runnable() { - public void run() { - createAndShowGUI(); - } - }); - } - - -} diff --git a/extra/net/sourceforge/javaws/about/resources/about.html b/extra/net/sourceforge/javaws/about/resources/about.html deleted file mode 100644 index e0d0a92..0000000 --- a/extra/net/sourceforge/javaws/about/resources/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - -

IcedTea-Web

is a high-quality JNLP client, built on NetX, that executes - network-based applications. -
NetX downloads code over the - network, caches it, and runs it in a secure sandbox - environment (unless signed). -

- Features of NetX: - - - - - diff --git a/extra/net/sourceforge/javaws/about/resources/applications.html b/extra/net/sourceforge/javaws/about/resources/applications.html deleted file mode 100644 index e9210d6..0000000 --- a/extra/net/sourceforge/javaws/about/resources/applications.html +++ /dev/null @@ -1,36 +0,0 @@ - - - -Applications - - - -Sample Applications:
-   jDiskReport - http://www.jGoodies.com/download/jdiskreport/jdiskreport.jnlp
-   jPathReport - http://www.jgoodies.com/download/jpathreport/jpathreport.jnlp
-   Skin L2F Demo - http://www.L2FProd.com/software/skinlf/jnlp/demo.php
-   Secure FTP - http://www.glub.com/products/secureftp/secureftp.jnlp
-   Jext - http://www.jext.org/apps/jext.jnlp
-   Java Music Player - http://www.javazoom.net/jlgui/jws/jlgui.jnlp
-
-Apps using netx:
-   Java Start Button - http://jnlp.sourceforge.net/netx/start/start.jnlp
-
-Sun Demos:
-   SwingSet2 - http://java.sun.com/products/javawebstart/apps/swingset2.jnlp
-   Notepad - http://java.sun.com/products/javawebstart/apps/notepad.jnlp
-   Draw - http://java.sun.com/products/javawebstart/apps/draw.jnlp
-   Military Game - http://java.sun.com/products/javawebstart/apps/mg.jnlp
-
-Tests:
-   Security Test
-   Security Test (signed)
-   Security Test (signed; fail strict JNLP)
-   Permission Test
-   Permission Test (signed) - - -

-
- - diff --git a/extra/net/sourceforge/javaws/about/resources/jamIcon.jpg b/extra/net/sourceforge/javaws/about/resources/jamIcon.jpg deleted file mode 100644 index 6a827c7..0000000 Binary files a/extra/net/sourceforge/javaws/about/resources/jamIcon.jpg and /dev/null differ diff --git a/extra/net/sourceforge/javaws/about/resources/notes.html b/extra/net/sourceforge/javaws/about/resources/notes.html deleted file mode 100644 index c8d95ba..0000000 --- a/extra/net/sourceforge/javaws/about/resources/notes.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - Release Notes - - -
- - - - - - - -
- - - - - - - - - -
- Jam Icon -
-
-
- Lillian Angel
- Deepak Bhole
- Danesh Dadachanji
- Adam Domurad
- Thomas Fitzsimmons
- Andrew John Hughes
- Matthias Klose
- Francis Kung
- Omair Majid
- Jon A. Maxwell
- Thomas Meyer
- Saad Mohammad
- Andrew Su
- Joshua Sumali
- Jiri Vanek
- Mark Wielaard
- Man Lung Wong
-
-
-
-
-Release Notes -
- - - - - - - - - - - - - -

- NetX on IcedTea: Security Support -
    -
  • Full signed application support
  • -
  • User trusted certificates support
  • -
  • Some JNLP API Services implemented
  • -
  • Improved unsigned application sandboxing with JNLP API
  • -
-

- Version 0.5: Refines multi-app capabilities + native code support -
    -
  • Released under LGPL.
  • -
  • Separate event queue, look and feel, etc for each application.
  • -
  • Native code support.
  • -
  • Supports headless mode.
  • -
  • Internationalized messages.
  • -
  • Uses NanoXML parser.
  • -
  • Minor changes listed on project web site...
  • -
- -
- Home page of IcedTea-Web: - - http://icedtea.classpath.org/wiki/IcedTea-Web -
- Please visit also the SourceForge site - - http://jnlp.sourceforge.net/netx/index.html - - and the IcedTea site - http://iced-tea.org - for more information.

- - -- cgit v1.2.3