Thread: Detail Type Specification

Results 1 to 3 of 3
  1. #1 Detail Type Specification 
    Community Veteran


    Join Date
    Oct 2006
    Posts
    451
    Thanks given
    5
    Thanks received
    1
    Discord
    View profile
    Rep Power
    137
    Purpose: So you don't have to continuously change detail options...

    Time to Complete: 2 seconds...(literally)

    Credits: Guthan (me)

    Procedure:

    Import the swing package:

    Code:
    import javax.swing.*;
    Find the main void in client.java (Should look something like the following):

    Code:
    	public static final void main(String args[])
    	{
    		try
    		{
    			anInt957 = 0;
    			anInt958 = 0;
    			method52(false);//highmem
    			aBoolean959 = true;//members
    			signlink.storeid = 32;
    			signlink.startpriv(InetAddress.getLocalHost());
    			client client1 = new client();
    			client1.method1(503, false, 765);
    			setserver(args[0], "43594");
    			return;
    		}
    		catch(Exception exception)
    		{
    			return;
    		}
    	}
    You should see this in the main void:

    Code:
    method52(false);
    Change the previous code [method52(false);] to the following:

    Code:
    			String detail = JOptionPane.showInputDialog(null, "Please state the detail type you prefer:", "Detail Value", JOptionPane.PLAIN_MESSAGE);
    			if(detail == "high") method52(true); else if(detail == "low") method52(false); //Detail Type Specification
    When starting your client, you must type in "high" (without quotations) for High Detail and "low" (without quotations) for Low Detail.

    Enjoy!
    Reply With Quote  
     

  2. #2  
    Fallen Azn SinZ
    Guest
    Thanks I guess. You should edit the post to say:
    "in the main method"
    not the main void.
    Anyway, I could use this. Kudos for you
    Reply With Quote  
     

  3. #3  
    x19
    Guest
    Thanks for this, But I prefer my client in High all the time.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •