You may also want to use some nested JPanels in your program.
You may also want to use some nested JPanels in your program.
Personally, I would create a seperate class that extends JPanel and add it to the other class:
import javax.swing;
public class ImagePanel extends JPanel
{
public ImagePanel
{
}
public void paintComponent(Graphics g)
{
}
}
Then add it to your normal class:
public class WardrobeFrame blah blah blah
{
ImagePanel ip;
public WardrobeFrame()
{
ip = new ImagePanel();
add(ip, BorderLayout.CENTER);
}
}
Something like that ;)
I picked flamers considering you meant homosexuals. Looks like it's people who don't love wombats, though. Oh, I hate CNN too, it seems to be more left wing.
wow! 7800gtx for £110??? tell me where i can find one ;)!
I think we've got a bit more of a budget here. That card that costs more than an xbox 360 with a few games!Actually, you may be able to find a 6800 non gt/ultra for your price range, and you can attempt to unlock the extra pipelines in it to make it like a gt. That maybe your best bet but it should wipe all your money clean. 6600gt will give you a few dollars left and a decent card which isnt always a bad thing.
No, no. The 7800GTX would be MY CHOICE if I were selecting card. I don't buy budget cards. If he can get a good 256mb card for 110, then go for it.
Anyone ever get the over-the-phone offers? So far we've won several million and a hundred different trips, but never got them.
geforce 7800gtx would be my pick.
What do you expect from a very liberal state like Vermont that also allows gay marriage? I would like to see them suffer badly instead of being put to death imediately (oh wait, they won't be). I won't even mention the things that should be done to him.
I didn't even look too much at the code ;) I didn't see any multithreading in it, so I just guessed that was the problem. I created one like what I think he's trying to do with swing and it just locked up. It worked via console, but not swing. It was obviously a multithreading problem, but I just gave up on it ;)
It doesn't look well multithreaded ;) What's the error? I'm guessing it just locks up and never connects, right?
Actually if you read the entire post, he used the word circle, instead of cycle.
To most intelligent people that would mean something completely different to cycle.
Isn't it possible that he could have had finished the first stage in his program, which is the algorithm you have outlined, and then has moved onto a 2d realisation, whereby there was a need to detect a circle?
:rolleyes:
What is up with your attitude? In almost every post you have some little smart remark. That person made a very nice (long) post. And if you look a few posts before, you made a typo using cycles. Leave it up to the thread creator wether the post was helpful or not and get rid of your piss poor attitude.
Swing has better performance than AWT. The only problem is Swing draws it's own components which can cause some 'glitching' especially with larger applications that you may have to scroll. In reality, Java's VM is almost the same as the .NET engine, so there really shouldn't be that much of a speed difference. I'd say maybe look some more at your coding..... Are you trying to load a bunch of stuff from a database at RT?
String[] array = request.getParameterValues("paraname"); ?
Ahhh, geeezz. My first thought would be shoot them, but no, it has to be better. I would let them sit in jail with the biggest, strongest, gayest guys there. He would then be raped non stop until he was dead.
I believe you want javascript, but not sure. Unless you want to use JSP.
Also, a guestbook might not be too bad.
Don't worry yourself about creating the spaces and aligning into a triangle.... Thanks to C++ you can set the width and fill character of the output ;)
Don't be a hypocrite:
http://www.daniweb.com/techtalkforums/thread30823.html
Oh, no, I wasn't joking.
it's simple do ur own homework
Everyone needs help from time to time. I'm sure YOU can agree on that......
Yeah, the processor on our older computer is really clogged with dust and stuff. I didn't know fans collected it, but I do now. I'm too lazy to clean it though ;)
Alright, it worked. Thanks for all the help guys.
PS: Why would a compiler have problems with a double like that?
Yeah, I'm downloaded the very latest version right now. I'll let you know how it goes.
I'm using an older version of Bloodshed. I guess that could be the problem...... But if it works, then I will be extremememememmeemlllllyyyyyy happy.
cout << "determinant = " << determinant;
;)
This is my double:
double determinant = 2.8*5*-9.5;
It should print out -133, right?
It prints out some weird junk like: 1.8e + 04
How can I correct this?
A simple JSP page with good architecture could cover a lot: MVC, regular java classes, servlet, and jsp. If you really want to use a lot of JSP, then a wiki would be kind of cool.
And when you're watching sports too? When my team is losing I always get mad and throw my hands in the air, but I never knew it was because some Doctor evil wannabe causing the 'weird' behavior.
I bought some cleaning kit for my laptop a while back that came with like 4 things to clean with. It was fairly expensive for what you got, so if you find a better option using home equipment I would go with that.
I am hacking your computer right now, and I'm sending deadly sound waves through your speakers that will cause a severe case of diarehea and other side effects. Please note, if you experience an errection for more than 6 hours, please see a doctor. I don't want anyone dying from this.
You should be able to use Process:
Process p = Runtime.getRuntime().exec(command);
command is a string you pass.
What's the error you're recieving?
What's there to lose? Go for it. If it doesn't work, then you know what not to do. I'd say writing software that has support of multiple platforms would increase your sales. I'm curious, what type of software is it?
Muuuwawhhahahhahahhahahhahahhahahahhhhhhhhhhhhhhhhahahahhahahhahahahhahahhahahh.......
IT WAS ME.
Seriously, do you really believe that crap?
and he highly suggested Apple and gave very good reasons why.
What were his reasons?
A^2 + B^2 = C^2
Math.pow(num, power);
Show what you have done.
I wouldn't think the classpath needs to be set, but I could be wrong.
C:\Sun\AppServer\jdk\bin\DMS-DNMS/jar" or "
... D:\Documents and Settings\lab\Desktop\DMS-DNMS/jar"
Looks like it's expecting to find a class somewhere on the users computer which is on computer a and computer b, but not on computer c.
Have you ever played around with a tablet pc? I used one once and didn't really like it too much. I think it was a toshiba. Nothing wrong with the computer as for as quality goes(at least I think!), but I just didn't find the tablet part as useful as I thought. You can write fast, but not as fast as you would like and it has a lot of trouble converting to pc text.....That is, if you write as messy as me.
Oh well, it's up to you. I'd take an alienware over it ;)
If you can use both, then choose which ever you like. But, if you decide to get a PC, don't get a Dell. I know you said you don't like them, but I was just reassuring you ;) Alienware would be my choice of a manufactured computer. Apple or PC.... It's a toss up. Both are excellent.
I wouldn't buy a radeon. It's simple, buy the best card you can get for your budget. Don't go less than a 256mb card, so that narrows it down to two. Check reviews and see which one you think.
What do you mean by grouping labels?
I bought this one:
Asus A8N32-SLI Deluxe
I wouldn't consider it a budget board though!
If you want a good power supply them spend more than $40 ;) I spent about $115 for mine.
Add some swing constants if it's not showing up. I can't remember exactly what they are, but it's something like: JScrollPane.ALWAYS or something like that.
It's truncated. The decimal portion is cut off.
1.8 == 1
1.1 == 1
1.99999 == 1
At least that's what I remember ;)
Reality my butt. It's more like, NOT reality TV.
I rip them open with my 3 foot sword.
I guess you forgot about the other thread you created?
http://www.daniweb.com/techtalkforums/thread37225.html
I answered the question and even helped a little, but it looks like your just another idiot looking to get his homework done.
I don't see any hypotenuse ( side1, side2 ); method. Also, why do you have to main methods?
import java.io.*;
public class Triangle
{
public Triangle()
{
super();
}
public double rounded_hypotenuse(double side_a, double side_b)
{
//compute
}
public static void main(String[] args)
{
//get input
//parse to double
//call method
//print
}
}
Use that as a starting point.
Why not set autostart to false and set hidden to false? I THINK that would give some sort of musical icon they can click on to listen.
I bathe naked and rub soap all ooovvvvverrrrr my body...