58
58
//public class GUI extends JFrame { //change 1 for test
59
59
public class GUI extends JPanel {//change 1 for burp
60
60
61
- private String ExtenderName = "reCAPTCHA v0.2 by bit4" ;
61
+ private String ExtenderName = "reCAPTCHA v0.3 by bit4" ;
62
62
private String github = "https://github.com/bit4woo/reCAPTCHA" ;
63
+ private String Abouttypeid = "http://www.ysdm.net/home/PriceType" ;
63
64
64
65
private JPanel contentPane ;
65
66
private JPanel panel_2 ;
@@ -85,6 +86,7 @@ public class GUI extends JPanel {//change 1 for burp
85
86
private JPanel panel_6 ;
86
87
private JPanel panel_7 ;
87
88
private JTextField imgPath ;
89
+ private JLabel lblAboutTypeid ;
88
90
89
91
/**
90
92
* Launch the application.
@@ -227,6 +229,35 @@ public void actionPerformed(ActionEvent arg0) {
227
229
}
228
230
}
229
231
});
232
+
233
+ lblAboutTypeid = new JLabel ("About Typeid ?" );
234
+ lblAboutTypeid .setHorizontalAlignment (SwingConstants .LEFT );
235
+ lblAboutTypeid .setFont (new Font ("ËÎÌå" , Font .BOLD , 12 ));
236
+ lblAboutTypeid .addMouseListener (new MouseAdapter () {
237
+ @ Override
238
+ public void mouseClicked (MouseEvent e ) {
239
+ try {
240
+ URI uri = new URI (Abouttypeid );
241
+ Desktop desktop = Desktop .getDesktop ();
242
+ if (Desktop .isDesktopSupported ()&&desktop .isSupported (Desktop .Action .BROWSE )){
243
+ desktop .browse (uri );
244
+ }
245
+ } catch (Exception e2 ) {
246
+ // TODO: handle exception
247
+ //callbacks.printError(e2.getMessage());
248
+ }
249
+
250
+ }
251
+ @ Override
252
+ public void mouseEntered (MouseEvent e ) {
253
+ lblAboutTypeid .setForeground (Color .BLUE );
254
+ }
255
+ @ Override
256
+ public void mouseExited (MouseEvent e ) {
257
+ lblAboutTypeid .setForeground (Color .BLACK );
258
+ }
259
+ });
260
+ panel_5 .add (lblAboutTypeid );
230
261
panel_5 .add (btnRequestAPI );
231
262
btnRequestAPI .setHorizontalAlignment (SwingConstants .LEFT );
232
263
@@ -246,11 +277,11 @@ public void actionPerformed(ActionEvent arg0) {
246
277
@ Override
247
278
public void focusLost (FocusEvent arg0 ) {
248
279
if (APIRequestRaws .getText ().equals ("" )) {
249
- APIRequestRaws .setText ("username=%s&password=%s&typeid=%s&timeout=%s&softid=%s&softkey=%s " );
280
+ APIRequestRaws .setText ("username=%s&password=%s&typeid=%s" );
250
281
}
251
282
}
252
283
});
253
- APIRequestRaws .setText ("username=%s&password=%s&typeid=%s&timeout=%s&softid=%s&softkey=%s " );
284
+ APIRequestRaws .setText ("username=%s&password=%s&typeid=%s" );
254
285
panel_4 .add (APIRequestRaws );
255
286
APIRequestRaws .setLineWrap (true );
256
287
0 commit comments