/* * JApplet.java * * Created on December 12, 2001, 2:23 PM */ /** * * @author denebeim */ public class ModClient extends javax.swing.JApplet { /** Creates new form JApplet */ public ModClient() { initComponents(); } /** This method is called from within the constructor to * initialize the form. * WARNING: Do NOT modify this code. The content of this method is * always regenerated by the Form Editor. */ private void initComponents() {//GEN-BEGIN:initComponents jPanel1 = new javax.swing.JPanel(); jPanel2 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jScrollPane1 = new javax.swing.JScrollPane(); jList1 = new javax.swing.JList(); jButton1 = new javax.swing.JButton(); jScrollPane2 = new javax.swing.JScrollPane(); jTable1 = new javax.swing.JTable(); jScrollPane3 = new javax.swing.JScrollPane(); jTextArea1 = new javax.swing.JTextArea(); jPanel1.setLayout(new java.awt.BorderLayout()); jPanel2.setLayout(new java.awt.BorderLayout()); jLabel1.setText("Logged In"); jLabel1.setForeground(java.awt.Color.black); jLabel1.setFont(new java.awt.Font("Dialog", 0, 12)); jPanel2.add(jLabel1, java.awt.BorderLayout.NORTH); jList1.setModel(new javax.swing.AbstractListModel() { String[] strings = { "denebeim", "zofran", "schilling", "zafaran", "kingpin" }; public int getSize() { return strings.length; } public Object getElementAt(int i) { return strings[i]; } }); jScrollPane1.setViewportView(jList1); jPanel2.add(jScrollPane1, java.awt.BorderLayout.CENTER); jButton1.setText("Logout"); jPanel2.add(jButton1, java.awt.BorderLayout.SOUTH); jPanel1.add(jPanel2, java.awt.BorderLayout.WEST); jScrollPane2.setPreferredSize(new java.awt.Dimension(600, 100)); jTable1.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { {"Dave Brown ", "Re: In the beginning", null, null, "denebeim"}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null}, {null, null, null, null, null} }, new String [] { "Poster", "Subject", "T", "P", "Assigned" } ) { Class[] types = new Class [] { java.lang.Object.class, java.lang.Object.class, java.lang.Boolean.class, java.lang.Boolean.class, java.lang.Object.class }; boolean[] canEdit = new boolean [] { false, false, false, false, false }; public Class getColumnClass(int columnIndex) { return types [columnIndex]; } public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit [columnIndex]; } }); jTable1.setMaximumSize(new java.awt.Dimension(2147483647, 100000)); jTable1.setMinimumSize(new java.awt.Dimension(75, 50)); jScrollPane2.setViewportView(jTable1); jPanel1.add(jScrollPane2, java.awt.BorderLayout.CENTER); getContentPane().add(jPanel1, java.awt.BorderLayout.NORTH); jTextArea1.setColumns(80); jTextArea1.setRows(40); jTextArea1.setFont(new java.awt.Font("Courier", 0, 10)); jTextArea1.setText(testMsg); jScrollPane3.setViewportView(jTextArea1); getContentPane().add(jScrollPane3, java.awt.BorderLayout.CENTER); }//GEN-END:initComponents // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JPanel jPanel1; private javax.swing.JPanel jPanel2; private javax.swing.JLabel jLabel1; private javax.swing.JScrollPane jScrollPane1; private javax.swing.JList jList1; private javax.swing.JButton jButton1; private javax.swing.JScrollPane jScrollPane2; private javax.swing.JTable jTable1; private javax.swing.JScrollPane jScrollPane3; private javax.swing.JTextArea jTextArea1; // End of variables declaration//GEN-END:variables private String testMsg = "Path: news.deepthot.org!gnudawn.demon.co.uk!not-for-mail\nFrom: Dave Brown \nNewsgroups: rec.arts.sf.tv.babylon5.moderated\nSubject: Re: In the beginning\nDate: Mon, 10 Dec 2001 21:07:10 +0000\nOrganization: Deep Thought\nLines: 50\nApproved: b5mod \nMessage-ID: \nReferences: <8743136229762.NC-1.47.eddie_gramham@news.ntlworld.com>\n <9v0oq4$pd4$4@dent.deepthot.org>\n \n <3C143148.336C53C2@home.com>\nReply-To: dave@gnudawn.co.uk\nNNTP-Posting-Host: cx858217-c.chnd1.az.home.com\nMime-Version: 1.0\nContent-Type: text/plain; charset=us-ascii\nContent-Transfer-Encoding: 7bit\nX-Trace: dent.deepthot.org 1008030996 15491 65.13.59.182 (11 Dec 2001 00:36:36 GMT)\nX-Complaints-To: news@news.deepthot.org\nNNTP-Posting-Date: 11 Dec 2001 00:36:36 GMT\nX-NNTP-Posting-Host: gnudawn.demon.co.uk:158.152.140.65\nX-Newsreader: Forte Agent 1.7/32.534\nX-Auth: PGPMoose V1.1 PGP rec.arts.sf.tv.babylon5.moderated\n iQBVAwUBPBVVFD6fp/cCu9CRAQGQ1QH+Lp+B6ZZDgogYZhZ2+d4dNoEjgxlHxTf5\n Qs2hmWL9+rVE/lfLHCVWSRbsC0ZGTiXzZHr0/YtH1NOivKMospZDVw==\n =zCEd\nOriginator: b5mod@deepthot.org (B5 Moderation Account)\nXref: news.deepthot.org rec.arts.sf.tv.babylon5.moderated:193581\n\nOn Mon, 10 Dec 2001 03:51:55 GMT, James DiBenedetto\n wrote:\n\n>The fact that G'Kar, Sheridan, Franklin and Delenn all met one another\n>during the war in the course of a very stressful, important and\n>not-easily-forgotten incident, and yet show not the slightest evidence of\n>this meeting during the series itself.\n>\n>Yes, I know that's obviously because ItB was filmed after Season 4, but in\n>that case it should have been written differently.\n>\n>I'll grant that Sheridan and Franklin might not have remembered what Delenn\n>looked like, given the circumstances, but she damn well should have\n>remembered them, and that should have colored her feelings and actions\n>towards them when they show up on B5 ten years later.\n\nSheridan, Franklin and G'Kar never saw Delenn's face, so they couldn't\nrecognise her later. Since she was keeping her membership of the Grey\nCouncil a secret when she was on B5, she would hardly have\nacknowledged them, even if she recognised them (she was 20 or 30 feet\naway when they were brought on board her ship).\n\nWe never see Sheridan's first meetings with either Franklin or G'Kar\non B5, so we don't know what their reactions were.\n\nHowever, when asked for his opinion of the new captain, Franklin says,\n\"I haven't seen much of him - but I like him\"., when you might have\nexpected him to say that he'd already worked with him before. I\nsuppose you could argue that the mediation attempt shown in ItB was\ntop secret, and the participants were still under orders not to talk\nabout it.\n\n>Similarly, Sheridan and Franklin ought to have had somewhat more rapport\n>given their near-death experience together, but they don't.\n\nDunno - that's difficult to call - people react in different ways, and\nSheridan and Franklin are by no means antagonistic towards each other.\n\nOne point I noticed that doesn't quite gell with me - in ItB, as soon\nas Delenn realises that Sinclair has a Minbari soul, she orders the\ncease fire. In Points of Departure, when Lennier tells Sheridan why\nthe Minbari surrendered, he says that several other humans were\nexamined for Minbari souls as confirmation.\n\n-- \nDave Brown\nSheffield, England, UK\ne-mail: dave@gnudawn.co.uk\nhttp://www.gnudawn.co.uk/\n"; }