-
Posts
716 -
Joined
-
Last visited
-
Feedback
0%
Everything posted by nyan
-
I'm Canadian
-
Image getImage(String url) { try { return ImageIO.read(new URL(url)); } catch (IOException e) { } return null; } Image picture = getImage("http://i.imgur.com/vGxY3dv.jpg"); @Override public void onPaint(Graphics2D g) { g.drawImage(picture, 7, 345, null); timeRan = System.currentTimeMillis() - this.timeBegan; g.drawString(ft(timeRan), 158, 369); } Another simple copy and paste for ya. Put the run time further down in the code. It goes from top to bottom when drawing the paint, so the run time gets covered if it's put first. Good luck
-
Yes window builder is a good tool for GUI's. I suggest going through the newboston's tutorials for java. You will learn enough of a foundation to be able to branch out on your own. Good luck! Edit: If my boredom continues today, I might make a tutorial on how to make an AIO woodcutter from scratch. We'll see. It might be a bit controversial, but there's like 100 AIO woodcutters and it's the easiest tutorial to make lol.
-
I edited previous post with more info. If that doesn't work then I suggest doing more reading into java.
-
private boolean GUI_Initialized = false; public void onStart() { // start GUI java.awt.EventQueue.invokeLater(new Runnable() { @Override public void run() { GUI = new /* GUI FILE NAME */(); GUI_Initialized = true; GUI.setVisible(true); } }); while (true) { if (GUI_Initialized && !GUI.isVisible()) { break; } sleepFor(100, 200); } // end GUI /* * Any other onStart stuff */ } This should solve your issue. Good luck! Read the thread more thoroughly. Try this in your GUI class. public class ShinyScript_GUI extends JFrame { // this keeps your class cleaner public JPanel mainPanel; // these are your labels, fields and anything else your GUI is using public JLabel labelTarget; public JTextField textFieldTarget; // this is the main executor for your GUI public ShinyScript_GUI() { super("ShinyScript v0.00"); setSize(500, 500); setLocationRelativeTo(null); setDefaultCloseOperation(DISPOSE_ON_CLOSE); addToMainPanel(); add(mainPanel); } // this helps keep your GUI clean as well public void addToMainPanel() { // main panel, this is pretty much 100% required mainPanel = new JPanel(); mainPanel.setBounds(0, 0, 469, 496); mainPanel.setLayout(null); // buttons, fields, anything in your gui pretty much labelTarget = new JLabel("Target:"); labelTarget.setBounds(21, 11, 50, 21); mainPanel.add(labelTarget); labelTarget.setFont(new Font("Arial", Font.BOLD, 12)); }
-
When I was scripting for another website, one of the devs did a human mouse project. It was basically a quick program he made up that required the user to click on circles varying in size on the screen as soon as they appeared. I imagine you could do something similar and yield the same or similar results.
-
@Anne @Dex Either one should be able to help you out. Dex always pm's me back within an hour
-
If they think the account is legit then they only give out a 2 day ban as a warning. Next ban is a perm one. They actually posted information about it somewhere when they announced that they were changing their banning policies.
-
You quoted the wrong part of my post so i was confused as hell at first. Anyways, you are right, one cannot really build a laptop as one would with a desktop, but the term still works well in the context that it is used. Customizing describes it better and yes msi is overpriced as hell. There are much better alternatives for the money you end up spending on msi or alienware.
-
Czar Chopper*
-
http://2007.runescape.wikia.com/wiki/Vengeance_Other the wiki doesn't say the cast time looks really slow though. it might be a little obvious in pvp, unless you plan on using it for bossing, which is a completely different story
-
asus is the way to go if you don't mind everything on it falling apart in less than a year. there is a reason it is the cheap version of alienware. my friend bought an asus and i laughed at him and i said he's gonna regret it, so he said just you wait, this laptop will last longer than yours. 7 months later his screen only worked when it was at a specific angle, shortly after the keyboard gave out and shortly after that the spot where you plug in the power cord broke and fell inside of the laptop. my point being, it may have the hardware but the quality of their products is horrible. just my opinion though. apparently asus got 64/100 on this website, ranking it 7th out of the laptop companies, which is ok i guess. http://www.laptopmag.com/articles/laptop-brand-ratings i'm pretty sure msi offers more customability and upgradibility. check them out and find out for yourself
-
Count yourself lucky, liquidize the account and start over. Unless you don't mind the stain that is now on your account. I find it really tacky on main accounts though, and extremely depressing when the account gets the perm ban 6 months of botting later (rip my ironman, 2015-10-07, 2098 total level, all for nothing. i believed in mirror mode too much ) edit: you'll be locked out of your account, jagex hasn't done any roll backs since pre eoc as far as I know, so your stats will remain the same as they were before the ban and i was rank 13 at the time for anyone wondering. good luck to those that are botting and are also in the top 20 ironmen. weath is most likely watching you
-
To do well in stocks you normally have to invest a decent amount of time throughout the day into stocks. That time gradually increases normally and eventually, if you're doing well that is, you end up spending all of your time and money on stocks. Then you fall in love with the companies you have stocks in, fail to diversify, run out of patience and panic sell, just to realize a moment later that you shouldn't have, and then you lose half your bank. but before all that happens, you lose half your bank because you didn't have enough capital to start with and you got fucked by all the commission rates, transaction costs and good ol' taxes in general. I recommend at least 10k capital before even considering stocks. Just my person opinion though edit: I know this probably has nothing to do with the OP but I've seen too many people get fucked by stocks, I'd feel bad if I didn't say anything.
-
does mirror mode work on ubuntu 14.04? it keeps saying it cannot load stream library edit: is this because i need to have 32 bit versions of java installed? if so can someone link the proper packages?
-
do you know if there is a way to run a mirror mode client on debian? stealth works fine for me but i cannot figure out a way to open a normal instance of runescape so that i can pair it with the mirror client
-
don't bot if you don't want to get banned. simple enough don't you think?
-
Thanks! I have most of them already but there was a few I didn't have. Cheers