Code:
public static void questTab(TextDrawingArea[] TDA){
RSInterface Interface = addInterface(638);
setChildren(4, Interface);
addText(29155, "Quests", 0xFF981F, false, true, 52, TDA, 2);
addButton(29156, 2, "QuestTab/QUEST", 18, 18, "Swap to Information", 1);
addSprite(29157, 0, "Interfaces/QuestTab/QUEST");
setBounds(29155, 10, 5, 0, Interface);
setBounds(29156, 165, 5, 1, Interface);
setBounds(29157, 3, 24, 2, Interface);
setBounds(29160, 5, 29, 3, Interface);
Interface = addInterface(29160);
Interface.height = 214;
Interface.width = 165;
Interface.scrollMax = 1700;
setChildren(105, Interface);
addText(29161, "Your Stats", 0xFF981F, false, true, 52, TDA, 2);
addHoverText(29162, "", "", TDA, 0, 0xff0000, false, true, 150);
addText(29163, "Owners", 0xFF981F, false, true, 52, TDA, 2);
addHoverText(29164, "@lre@Styl3r & Earthquake", "Kings", TDA, 0, 0xff0000, false, true, 150);
addText(29165, "Owners", 0xFF981F, false, true, 52, TDA, 2);
addHoverText(29166, "Styl3r & Earthquake", "Kings", TDA, 0, 0xff0000, false, true, 150);
setBounds(29161, 4, 4, 0, Interface);
setBounds(29162, 8, 22, 1, Interface);
setBounds(29163, 4, 35, 2, Interface);
setBounds(29164, 8, 53, 3, Interface);
setBounds(663, 4, 67, 4, Interface);
int Ypos = 83;
int frameID = 5;
for(int iD = 29165; iD <= 29264;iD++){
addHoverText(iD, "", "View Quest"/*"View Quest Journal, "+iD*/, TDA, 0, 0xff0000, false, true, 150);
setBounds(iD, 8, Ypos, frameID, Interface);
frameID++;
Ypos += 15;
Ypos++;
}
Interface = addInterface(29265);
try {
setChildren(4, Interface);
addText(29266, "Coming soon!", 0xFF981F, false, true, -1, TDA, 2);
addButton(29267, 1, "Interfaces/QuestTab/QUEST", 18, 18, "Swap to Player Info", 1);
addSprite(29269, 0, "Interfaces/QuestTab/QUEST");
setBounds(29266, 10, 5, 0, Interface);
setBounds(29267, 165, 5, 1, Interface);
setBounds(29269, 3, 24, 2, Interface);
setBounds(29268, 5, 29, 3, Interface);
Interface = addInterface(29268);
Interface.height = 214;
Interface.width = 165;
Interface.scrollMax = 1700;
setChildren(20, Interface);
setBounds(29295, 8, 4, 0, Interface);
setBounds(29296, 8, 16, 1, Interface);
setBounds(29297, 8, 29, 2, Interface);
setBounds(29298, 8, 42, 3, Interface);
setBounds(29299, 8, 54, 4, Interface);
setBounds(29300, 8, 66, 5, Interface);
setBounds(29301, 8, 78, 6, Interface);
setBounds(29302, 8, 90, 7, Interface);
setBounds(29303, 8, 102, 8, Interface);
setBounds(29304, 8, 114, 9, Interface);
setBounds(29305, 8, 126, 10, Interface);
setBounds(29306, 8, 138, 11, Interface);
setBounds(29307, 8, 150, 12, Interface);
setBounds(29308, 8, 162, 13, Interface);
setBounds(29309, 8, 174, 14, Interface);
setBounds(29310, 8, 186, 15, Interface);
setBounds(29311, 8, 198, 16, Interface);
setBounds(29312, 8, 210, 17, Interface);
setBounds(29313, 8, 222, 18, Interface);
setBounds(29314, 8, 234, 19, Interface);
addHoverText(29295, "", "", TDA, 1, 0xFF981F, false, true, 150);
addHoverText(29296, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29297, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29298, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29299, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29300, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29301, "", "", TDA, 1, 0xFF981F, false, true, 150);
addHoverText(29302, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29303, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29304, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29305, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29306, "", "", TDA,1, 0xFF981F, false, true, 150);
addHoverText(29307, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29308, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29309, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29310, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29311, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29312, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29313, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29314, "", "", TDA, 0, 0xff0000, false, true, 150);
} catch(Exception e){
e.printStackTrace();
}
}
and client.java server sided