1 9 10 package ebay.client; 11 12 16 import ebay.apis.*; 17 import javax.xml.ws.*; 18 import javax.swing.*; 19 import java.awt.event.*; 20 import java.util.Properties ; 21 import java.io.*; 22 import java.util.List ; 23 import java.util.Vector ; 24 import ebay.client.handler.RequesterCredentials; 25 import javax.xml.ws.handler.Handler; 26 27 public class MainGUIApp extends javax.swing.JFrame { 28 29 private static final String baseURL = "https://api.ebay.com/wsapi?"; 30 31 private static final String localURL = "http://localhost:7070/Ebay"; 32 33 private static final String sandboxURL = "https://api.sandbox.ebay.com/wsapi?"; 34 private static Properties props = new Properties (); 35 private static CustomSecurityHeaderType header; 36 37 38 private java.awt.image.BufferedImage image = null; 39 private String itemDetailString; 40 private String itemId; 41 private String [] details = new String [5]; 42 private String [] values = new String [5]; 43 private String desc; 44 45 private boolean multiTabView = false; 46 47 48 49 public MainGUIApp() { 50 super("Web Services Ebay Client"); 51 try { 52 UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); 53 if(System.getProperty("http.proxyHost") != null && 54 System.getProperty("http.proxyPort") != null) 55 { 56 this.proxyHostString = System.getProperty("http.proxyHost"); 57 this.proxyPortString = System.getProperty("http.proxyPort"); 58 } 59 60 }catch(Exception e) { 61 } 62 63 initComponents(); 64 } 65 66 public static ItemType getItem(String endpointToUse, String itemId) { 67 boolean error = false; 68 String endpointURL = ""; 69 EBayAPIInterfaceService svc = new EBayAPIInterfaceService(); 70 EBayAPIInterface port = svc.getEBayAPI(); 71 72 73 BindingProvider bp = (BindingProvider) port; 74 if (endpointToUse.equalsIgnoreCase("ebay")) { 75 endpointURL = baseURL + "callname=GetItem&siteid=0&appid=" + 76 (String )props.get("appID") + "&version=455&Routing=new"; 77 List <Handler> handlerChain = new Vector (); 78 handlerChain.add(new RequesterCredentials()); 79 bp.getBinding().setHandlerChain(handlerChain); 80 } 81 else if(endpointToUse.equalsIgnoreCase("local")) { 82 endpointURL = localURL; 83 } 84 else { 85 System.exit(1); 86 } 87 bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, 88 endpointURL); 89 GetItemRequestType itemRequest = new GetItemRequestType(); 90 itemRequest.setVersion("455"); 91 92 itemRequest.setItemID(itemId); 93 itemRequest.setErrorLanguage("en_US"); 94 GetItemResponseType itemResponse = null; 95 try { 96 itemResponse = port.getItem(itemRequest); 97 }catch (Exception e) { 98 error = true; 99 } 100 if (error) { 101 return null; 102 } 103 else 104 return itemResponse.getItem(); 105 106 } 107 108 public static void setProxyHost(String proxyHost){ 109 proxyHostString = proxyHost; 110 } 111 112 public static void setProxyPort(String proxyPort){ 113 proxyPortString = proxyPort; 114 } 115 116 public static String getProxyPort() { 117 return proxyPortString; 118 } 119 120 public static String getProxyHost() { 121 return proxyHostString; 122 } 123 124 private void initComponents() { 125 jPanel2 = new javax.swing.JPanel (); 126 jPanel2.setBackground(new java.awt.Color (236,233,216)); 127 jTextField1 = new javax.swing.JTextField (); 128 jComboBox1 = new javax.swing.JComboBox (); 129 jLabel1 = new javax.swing.JLabel (); 130 jLabel2 = new javax.swing.JLabel (); 131 jPanel3 = new javax.swing.JPanel (); 132 jPanel3.setBackground(new java.awt.Color (236,233,216)); 133 jButton1 = new javax.swing.JButton (); 134 jMenuBar1 = new javax.swing.JMenuBar (); 135 jMenu1 = new javax.swing.JMenu (); 136 jMenu2 = new javax.swing.JMenu (); 137 jMenuItem1 = new javax.swing.JMenuItem (); 138 jMenu3 = new javax.swing.JMenu (); 139 jMenuItem2 = new javax.swing.JMenuItem (); 140 141 setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 142 setResizable(false); 143 getContentPane().setBackground(new java.awt.Color (236, 233, 216)); 144 145 jComboBox1.setFont(new java.awt.Font ("Verdana", 0, 12)); 146 jComboBox1.setModel(new javax.swing.DefaultComboBoxModel (new String [] { "Ebay Server", "Local Server" })); 147 jLabel1.setFont(new java.awt.Font ("Verdana", 0, 12)); 148 jLabel1.setText("Item Id"); 149 jLabel2.setFont(new java.awt.Font ("Verdana", 0, 12)); 150 jLabel2.setText("Server"); 151 152 javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout (jPanel2); 153 jPanel2.setLayout(jPanel2Layout); 154 jPanel2Layout.setHorizontalGroup( 155 jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 156 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() 157 .addGap(50, 50, 50) 158 .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 159 .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 160 .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 77, Short.MAX_VALUE)) 161 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 162 .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 163 .addComponent(jComboBox1, 0, 113, Short.MAX_VALUE) 164 .addComponent(jTextField1, javax.swing.GroupLayout.DEFAULT_SIZE, 113, Short.MAX_VALUE)) 165 .addContainerGap()) 166 ); 167 jPanel2Layout.setVerticalGroup( 168 jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 169 .addGroup(jPanel2Layout.createSequentialGroup() 170 .addGap(23, 23, 23) 171 .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 172 .addComponent(jLabel1) 173 .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 174 .addGap(15, 15, 15) 175 .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 176 .addComponent(jLabel2) 177 .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 178 .addContainerGap(22, Short.MAX_VALUE)) 179 ); 180 181 jButton1.setFont(new java.awt.Font ("Verdana", 0, 12)); 182 jButton1.setText("Get Details"); 183 jButton1.setMnemonic('G'); 184 jButton1.addActionListener(new java.awt.event.ActionListener () { 185 public void actionPerformed(java.awt.event.ActionEvent evt) { 186 jButton1ActionPerformed(evt); 187 } 188 }); 189 190 javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout (jPanel3); 191 jPanel3.setLayout(jPanel3Layout); 192 jPanel3Layout.setHorizontalGroup( 193 jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 194 .addGroup(jPanel3Layout.createSequentialGroup() 195 .addGap(164, 164, 164) 196 .addComponent(jButton1) 197 .addContainerGap(164, Short.MAX_VALUE)) 198 ); 199 jPanel3Layout.setVerticalGroup( 200 jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 201 .addGroup(jPanel3Layout.createSequentialGroup() 202 .addContainerGap() 203 .addComponent(jButton1) 204 .addContainerGap(86, Short.MAX_VALUE)) 205 ); 206 207 jMenu1.setText("File"); 208 jMenu1.setMnemonic('F'); 209 210 jMenuItem1.setText("Exit"); 211 jMenu1.add(jMenuItem1); 212 jMenuItem1.setMnemonic('x'); 213 214 jMenuItem1.addActionListener(new ActionListener(){ 215 public void actionPerformed(ActionEvent ae) { 216 exitApplication(); 217 } 218 }); 219 220 jMenuBar1.add(jMenu1); 221 222 jMenu3.setText("Edit"); 223 jMenu3.setMnemonic('E'); 224 jMenuItem2.setText("Preferences"); 225 jMenuItem2.setMnemonic('P'); 226 jMenuItem2.addActionListener(new ActionListener() { 227 public void actionPerformed(ActionEvent ae){ 228 showPreferencesDialog(); 229 } 230 }); 231 jMenu3.add(jMenuItem2); 232 jMenuBar1.add(jMenu3); 233 setJMenuBar(jMenuBar1); 234 235 javax.swing.GroupLayout layout = new javax.swing.GroupLayout (getContentPane()); 236 getContentPane().setLayout(layout); 237 layout.setHorizontalGroup( 238 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 239 .addGroup(layout.createSequentialGroup() 240 .addGap(76, 76, 76) 241 .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 242 .addContainerGap(93, Short.MAX_VALUE)) 243 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() 244 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 245 .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 246 ); 247 layout.setVerticalGroup( 248 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 249 .addGroup(layout.createSequentialGroup() 250 .addGap(80, 80, 80) 251 .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 252 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 253 .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) 254 ); 255 pack(); 256 } 258 public static void showMessageDialog(final java.awt.Container parent, 259 final String msg, final String title) { 260 SwingUtilities.invokeLater(new Runnable () { 261 public void run(){ 262 javax.swing.JOptionPane.showMessageDialog(parent, msg, title, 263 javax.swing.JOptionPane.WARNING_MESSAGE); 264 } 265 }); 266 } 267 268 private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { 269 String currency = null; 271 272 java.lang.Object source = evt.getSource(); 273 if( source == jButton1 ) { 274 String str = (String ) jComboBox1.getSelectedItem(); 275 if( str.equals("Ebay Server")){ 276 if( this.proxyHostString != null && this.proxyPortString != null ){ 277 System.setProperty("http.proxyHost", this.proxyHostString); 278 System.setProperty("http.proxyPort", this.proxyPortString); 279 System.setProperty("https.proxyHost", this.proxyHostString); 280 System.setProperty("https.proxyPort", this.proxyPortString); 281 } 282 } 283 284 String itemId = jTextField1.getText(); 285 if(itemId == null || itemId.equals("")) { 286 showMessageDialog(jPanel2, "Please enter the ItemId...", "ItemId Required..."); 287 } else { 288 this.setCursor(new java.awt.Cursor (java.awt.Cursor.WAIT_CURSOR)); 289 if(str.equals("Ebay Server")) 290 str = "ebay"; 291 else 292 str = "local"; 293 294 ItemType item = getItem(str, itemId.trim()); 295 if (item == null) { 296 showMessageDialog(jPanel2, "Sorry there is no item found...", "Item Not Found..."); 297 } else { 298 new ViewItemDetails(itemId, item); 299 jTextField1.setText(""); 300 } 301 this.setCursor(new java.awt.Cursor (java.awt.Cursor.DEFAULT_CURSOR)); 302 } 303 } 304 } 305 306 307 310 public static void main(String args[]) { 311 java.awt.EventQueue.invokeLater(new Runnable () { 312 public void run() { 313 new MainGUIApp().setVisible(true); 314 } 315 }); 316 } 317 318 public void exitApplication() { 319 dispose(); 320 System.exit(0); 321 } 322 323 public void showPreferencesDialog() { 324 SwingUtilities.invokeLater(new Runnable () { 325 public void run(){ 326 new SettingsDialog().setVisible(true); 327 } 328 }); 329 } 330 331 class SettingsDialog extends javax.swing.JDialog 332 implements ActionListener { 333 334 public SettingsDialog() { 335 super((JFrame)MainGUIApp.this, "Preferences...", true); 336 setLocationRelativeTo((JFrame)MainGUIApp.this); 337 initComponents(); 338 createGUI(); 339 } 340 341 private void initComponents(){ 342 343 jTabbedPane1 = new javax.swing.JTabbedPane (); 344 proxySettingsPanel = new javax.swing.JPanel (); 345 directRadioButton = new javax.swing.JRadioButton (); 346 proxyRadioButton = new javax.swing.JRadioButton (); 347 proxyHostLabel = new javax.swing.JLabel (); 348 proxyHostTxtField = new javax.swing.JTextField (); 349 proxyPortLabel = new javax.swing.JLabel (); 350 proxyPortTxtField = new javax.swing.JTextField (); 351 352 setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); 353 setResizable(false); 354 355 proxyHostLabel.setFont(new java.awt.Font ("Verdana", 0, 12)); 356 proxyPortLabel.setFont(new java.awt.Font ("Verdana", 0, 12)); 357 directRadioButton.setFont(new java.awt.Font ("Verdana", 0, 12)); 358 proxyRadioButton.setFont(new java.awt.Font ("Verdana", 0, 12)); 359 360 if(MainGUIApp.getProxyHost() != null 361 && MainGUIApp.getProxyPort() != null) { 362 proxyRadioButton.setSelected(true); 363 proxyHostTxtField.setText(MainGUIApp.getProxyHost()); 364 proxyPortTxtField.setText(MainGUIApp.getProxyPort()); 365 } else { 366 directRadioButton.setSelected(true); 367 proxyPortTxtField.setEnabled(false); 368 proxyHostTxtField.setEnabled(false); 369 } 370 371 jTabbedPane1.setToolTipText("Proxy Settings..."); 372 jTabbedPane1.setName("Network"); 373 directRadioButton.setText("Direct Internet Connection"); 374 directRadioButton.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); 376 directRadioButton.setMargin(new java.awt.Insets (0, 0, 0, 0)); 377 directRadioButton.addActionListener(this); 378 379 proxyRadioButton.setText("User Network HTTP Proxy Settings"); 380 proxyRadioButton.setToolTipText("Network Proxy Required..."); 381 proxyRadioButton.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); 382 proxyRadioButton.setMargin(new java.awt.Insets (0, 0, 0, 0)); 383 proxyRadioButton.setName("proxyRadioButton"); 384 proxyRadioButton.addActionListener(this); 385 386 ButtonGroup networkButtonGroup = new ButtonGroup(); 387 networkButtonGroup.add(directRadioButton); 388 networkButtonGroup.add(proxyRadioButton); 389 390 proxyHostLabel.setText("Proxy Host"); 391 392 proxyPortLabel.setText("Port"); 393 394 bottomPanel = new javax.swing.JPanel (); 395 cancel = new javax.swing.JButton (); 396 ok = new javax.swing.JButton (); 397 cancel.setText("Cancel"); 398 cancel.setMnemonic('C'); 399 ok.setText("Ok"); 400 ok.setMnemonic('O'); 401 402 ok.addActionListener(this); 403 cancel.addActionListener(this); 404 405 } 406 407 private void createGUI() { 408 409 javax.swing.GroupLayout proxySettingsPanelLayout = new javax.swing.GroupLayout (proxySettingsPanel); 410 proxySettingsPanel.setLayout(proxySettingsPanelLayout); 411 proxySettingsPanelLayout.setHorizontalGroup( 412 proxySettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 413 .addGroup(proxySettingsPanelLayout.createSequentialGroup() 414 .addGap(38, 38, 38) 415 .addGroup(proxySettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 416 .addGroup(proxySettingsPanelLayout.createSequentialGroup() 417 .addGroup(proxySettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) 418 .addComponent(proxyPortLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 419 .addComponent(proxyHostLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 71, Short.MAX_VALUE)) 420 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 421 .addGroup(proxySettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 422 .addComponent(proxyPortTxtField, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE) 423 .addComponent(proxyHostTxtField, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE))) 424 .addComponent(proxyRadioButton) 425 .addComponent(directRadioButton)) 426 .addContainerGap(54, Short.MAX_VALUE)) 427 ); 428 proxySettingsPanelLayout.setVerticalGroup( 429 proxySettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 430 .addGroup(proxySettingsPanelLayout.createSequentialGroup() 431 .addGap(19, 19, 19) 432 .addComponent(directRadioButton) 433 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 434 .addComponent(proxyRadioButton) 435 .addGap(18, 18, 18) 436 .addGroup(proxySettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 437 .addComponent(proxyHostTxtField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 438 .addComponent(proxyHostLabel)) 439 .addGap(14, 14, 14) 440 .addGroup(proxySettingsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 441 .addComponent(proxyPortTxtField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 442 .addComponent(proxyPortLabel)) 443 .addContainerGap(38, Short.MAX_VALUE)) 444 ); 445 jTabbedPane1.addTab("Network", proxySettingsPanel); 446 447 getContentPane().add(jTabbedPane1, java.awt.BorderLayout.CENTER); 448 jTabbedPane1.getAccessibleContext().setAccessibleName("Widnow Settings"); 449 450 javax.swing.GroupLayout bottomPanelLayout = new javax.swing.GroupLayout (bottomPanel); 451 bottomPanel.setLayout(bottomPanelLayout); 452 bottomPanelLayout.setHorizontalGroup( 453 bottomPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 454 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, bottomPanelLayout.createSequentialGroup() 455 .addContainerGap(175, Short.MAX_VALUE) 456 .addComponent(ok) 457 .addGap(14, 14, 14) 458 .addComponent(cancel) 459 .addContainerGap()) 460 ); 461 bottomPanelLayout.setVerticalGroup( 462 bottomPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 463 .addGroup(bottomPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 464 .addComponent(ok, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE) 465 .addComponent(cancel, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)) 466 ); 467 getContentPane().add(bottomPanel, java.awt.BorderLayout.SOUTH); 468 pack(); 469 } 471 public void actionPerformed(ActionEvent ae) { 472 Object source = ae.getSource(); 473 if(ok == source && proxyRadioButton.isSelected()) { 474 String hostName = proxyHostTxtField.getText(); 475 String port = proxyPortTxtField.getText(); 476 if( hostName.equals("") || port.equals("")) { 477 MainGUIApp.showMessageDialog(this, 478 "Enter the proxy host/port properly...", 479 "Proxy Details Required..."); 480 } else { 481 MainGUIApp.setProxyHost(hostName.trim()); 482 MainGUIApp.setProxyPort(port.trim()); 483 System.setProperty("http.proxyHost", hostName.trim()); 484 System.setProperty("http.proxyPort", port.trim()); 485 System.setProperty("https.proxyHost", hostName.trim()); 486 System.setProperty("https.proxyPort", port.trim()); 487 dispose(); 488 } 489 } else if( source == ok) { 491 dispose(); 492 } 493 494 if( cancel == source ) { 495 dispose(); 496 } 497 if(source == directRadioButton) { 498 proxyPortTxtField.setEnabled(false); 499 proxyHostTxtField.setEnabled(false); 500 System.setProperty("http.proxyHost", ""); 501 System.setProperty("http.proxyPort", ""); 502 } 503 504 if(source == proxyRadioButton){ 505 proxyPortTxtField.setEnabled(true); 506 proxyHostTxtField.setEnabled(true); 507 } 508 509 } 510 private javax.swing.JRadioButton directRadioButton; 512 private javax.swing.JPanel proxySettingsPanel; 513 private javax.swing.JTabbedPane jTabbedPane1; 514 private javax.swing.JLabel proxyHostLabel; 515 private javax.swing.JTextField proxyHostTxtField; 516 private javax.swing.JLabel proxyPortLabel; 517 private javax.swing.JTextField proxyPortTxtField; 518 private javax.swing.JRadioButton proxyRadioButton; 519 private javax.swing.JPanel bottomPanel; 520 private javax.swing.JButton cancel; 521 private javax.swing.JButton ok; 522 523 } 524 private javax.swing.JMenu jMenu1; 526 private javax.swing.JMenu jMenu2; 527 private javax.swing.JMenu jMenu3; 528 private javax.swing.JMenuBar jMenuBar1; 529 private javax.swing.JMenuItem jMenuItem1; 530 private javax.swing.JMenuItem jMenuItem2; 531 private javax.swing.JButton jButton1; 532 private javax.swing.JComboBox jComboBox1; 533 private javax.swing.JLabel jLabel1; 534 private javax.swing.JLabel jLabel2; 535 private javax.swing.JPanel jPanel2; 536 private javax.swing.JPanel jPanel3; 537 private javax.swing.JTextField jTextField1; 538 540 private static String proxyHostString = null; 541 private static String proxyPortString = null; 542 543 } 544 | Popular Tags |