Thread: JFrame using Theme.jar

Results 1 to 9 of 9
  1. #1 JFrame using Theme.jar 
    CUTE IRL
    Reforced's Avatar
    Join Date
    Jun 2007
    Age
    28
    Posts
    103
    Thanks given
    1
    Thanks received
    0
    Rep Power
    16
    Description: Giving your JFrame a new look and feel, commonly used.
    Difficulty: 3-4, May have a few problems adding the original JFrame and Menu, if you already have that, this should be extremely easy for you.
    Base used: DeltaScape V16 (Any non-renamed client, or renamed if you have JFrame and Menu renamed)

    Before doing absolutely anything in this, please visit the link provided below and complete the tutorial, after compiled with no errors whatsoever, continue.

    http://www.rune-server.org/f45/jfram...al-t90869.html

    I've seen very many people requesting client JFrame such as this, and I feel clients should use it. As it has a more unique look and feel than the original JFrame provides. Below is a picture of the original (The one you should have right now; ignore the names of the clients, they won't appear as that when finished).



    And this will be the aftermath.



    First of all, click the link below and save it into your client's directory.

    http://reforced.net/Theme.jar

    "Theme.jar" will be the source of your JFrame. Now, open your Gui.java (You should have this after completing Harvey's tutorial on JFrame and Menu) and find this.

    Code:
    sign.signlink.mainapp = this;
    Above that, add the following code.

    Code:
    UIManager.setLookAndFeel("org.jvnet.substance.skin.SubstanceRavenLookAndFeel");
    This will set your theme as "Raven". Save and compile.

    Next, replace your entire run.bat with this.

    Code:
    @ECHO OFF
    TITLE Client
    start javaw -Xmx1500m -cp .;Theme.jar Gui 0 0 lowmem members 32
    To browse themes, click the java image on the top left part of your client. It will have a drop down menu, click "Substance skins" and click on a theme of your likings. If you're suited with the Raven skin, keep it as it is, if you'd like one of the themes in "Substance themes" go back to the code you added in the Gui.java and change it. Lets say you wanted to add business, it would look like this.

    Code:
    UIManager.setLookAndFeel("org.jvnet.substance.skin.SubstanceBusinessLookAndFeel");
    You are just changing the name, so what if the name of the theme has more than one word in it? Simply, remove the spaces out of the theme's name, it is case sensative. Here is an example of what you'd put if you used the "Finding Nemo" theme.

    Code:
    UIManager.setLookAndFeel("org.jvnet.substance.skin.SubstanceFindingNemoLookAndFeel");
    Once comfortable with your theme, compile, and you shouldn't have any errors if you followed the tutorial correctly, you will have your new JFrame.

    I'm not sure who was the original creator of this, but I will credit the person who taught me this.

    Credits: 95% Dark Mage250; 5% Reforced

    Enjoy your theme.

    Any problems or errors? Post in the topic, and I'll see what I can do.

    Thanks,
    Reforced
    hi
     

  2. #2 Error 
    Donator

    Join Date
    Nov 2008
    Age
    29
    Posts
    53
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Ive really wanted this an all other download links are broken well...

    Everything Compiles with no error but when I click run it opens then exits and says could not find main class. Program will exit.

    I also tried to open the file called theme.jar and it doesn't open and there is a box that comes up and says Failed to load Main-Class Manifest attribute from C:/Users/Taylor/Desktop/Razorscape ClientV2\files\theme.jar

    Can you please help me
     

  3. #3  
    Super Donator

    Join Date
    Oct 2008
    Posts
    328
    Thanks given
    34
    Thanks received
    20
    Rep Power
    66
    Wait, didn't Warlock already post this, Reforced?

    Ahem.
    menth
     

  4. #4  
    Registered Member
    Warlock 999's Avatar
    Join Date
    Jul 2008
    Age
    31
    Posts
    1,407
    Thanks given
    7
    Thanks received
    29
    Rep Power
    927
    Yes i did lmao
    If anyone needs help with java questions or errors I will try and help with what I can/know
    my discord is Perkaholic feel free to add me with questions or to chat!

    "There is always one more thing you can do to increase your odds of success." -Hal Moore
     

  5. #5  
    Registered Member tidie10's Avatar
    Join Date
    Jun 2008
    Age
    30
    Posts
    79
    Thanks given
    0
    Thanks received
    2
    Rep Power
    4
     

  6. #6  
    Registered Member
    Warlock 999's Avatar
    Join Date
    Jul 2008
    Age
    31
    Posts
    1,407
    Thanks given
    7
    Thanks received
    29
    Rep Power
    927
    Do this, Same thing as this. Made it along time ago.
    http://www.rune-server.org/showthread.php?t=114043
    If anyone needs help with java questions or errors I will try and help with what I can/know
    my discord is Perkaholic feel free to add me with questions or to chat!

    "There is always one more thing you can do to increase your odds of success." -Hal Moore
     

  7. #7  
    Registered Member
    `Tom's Avatar
    Join Date
    Oct 2008
    Age
    30
    Posts
    299
    Thanks given
    1
    Thanks received
    2
    Rep Power
    81
    Thanks, used and repped.
    Stop whackin' it and read what I posted.
     

  8. #8  
    Metal Up Your Ass!!!

    Join Date
    Aug 2008
    Posts
    336
    Thanks given
    1
    Thanks received
    0
    Rep Power
    114
    How do i set a default theme. You only showed us how to set a default skin.
     

  9. #9  
    Registered Member
    Pride's Avatar
    Join Date
    Mar 2008
    Posts
    727
    Thanks given
    0
    Thanks received
    1
    Rep Power
    121
    Try Substance as Real name -_-"
     


Thread Information
Users Browsing this Thread

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


User Tag List

Tags for this Thread

View Tag Cloud

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