1,034 Posted Topics

Member Avatar for The Dude

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.

Member Avatar for The Dude
0
221
Member Avatar for MonkeyCode

I wouldn't think the classpath needs to be set, but I could be wrong. [code] C:\Sun\AppServer\jdk\bin\DMS-DNMS/jar" or " ... D:\Documents and Settings\lab\Desktop\DMS-DNMS/jar" [/code] 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.

Member Avatar for MonkeyCode
0
106
Member Avatar for LiBOC

I'd say you'll need a loop which has some bounds. Most of the time it's -2PI to 2PI. (-6.28 to 6.28). You'll then need a real-to-screen conversion formula, which will depend on your window. After all that, then just loop through and call Java's built in cos() method as Phaelax …

Member Avatar for server_crash
0
267
Member Avatar for maczu.pikczu

Personally, I would create a seperate class that extends JPanel and add it to the other class: [code] import javax.swing; public class ImagePanel extends JPanel { public ImagePanel { } public void paintComponent(Graphics g) { } } [/code] Then add it to your normal class: [code] public class WardrobeFrame blah …

Member Avatar for maczu.pikczu
0
171
Member Avatar for tcp_ip

Good luck on the math ;) I made one once. You'll need a complex class since it goes in the form a + bi or something like that. I can't remember the exact formula for a mandelbrot.

Member Avatar for iamthwee
0
156
Member Avatar for sam1

I'm not sure what you're saying. Are you talking something like a status bar? If you simply want it at very bottom of the frame, then put it all in a JPanel and then use the BorderLayout.CENTER swing constant.

Member Avatar for jwenting
0
102
Member Avatar for sam1

[url]http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/LookAndFeel.html[/url] [url]http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/UIManager.html[/url] Those are few classes you would need to use. Anyways, the ones I know are: Java LAF Mac LAF Motif LAF Windows LAF GTK LAF

Member Avatar for jwenting
0
108
Member Avatar for across

Anyone ever get the over-the-phone offers? So far we've won several million and a hundred different trips, but never got them.

Member Avatar for server_crash
0
184
Member Avatar for Rajnesh

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 …

Member Avatar for Rajnesh
0
94
Member Avatar for cansouth

Muuuwawhhahahhahahhahahhahahhahahahhhhhhhhhhhhhhhhahahahhahahhahahahhahahhahahh....... IT WAS ME. Seriously, do you really believe that crap?

Member Avatar for MartyMcFly
0
275
Member Avatar for jgraca

I believe you want javascript, but not sure. Unless you want to use JSP.

Member Avatar for jgraca
0
136
Member Avatar for phani8123
Member Avatar for server_crash
0
82
Member Avatar for kisvirag21

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 ;)

Member Avatar for kisvirag21
0
321
Member Avatar for knuckerbuck
Member Avatar for jwenting
0
147
Member Avatar for ravi sundar

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.

Member Avatar for server_crash
0
131
Member Avatar for Beetlebum

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 ;)

Member Avatar for server_crash
0
127
Member Avatar for server_crash

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?

Member Avatar for server_crash
0
188
Member Avatar for tayspen
Member Avatar for plwrght

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?

Member Avatar for server_crash
0
74
Member Avatar for ingeborgdot@yah

I bought this one: Asus A8N32-SLI Deluxe I wouldn't consider it a budget board though!

Member Avatar for jwenting
0
51
Member Avatar for eliauction

Shouldn't be any different than writting something in a different language. If you are writting an online app, then java's probably the way to go. If you're worried about speed, then you shouldn't be. Since Java 1.4, it uses the Hotspot VM by default, which does pretty much the same …

Member Avatar for eliauction
0
486
Member Avatar for infested13

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.

Member Avatar for server_crash
1
120
Member Avatar for spacedani

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 ;)

Member Avatar for spacedani
0
131
Member Avatar for mariposa104

I guess you forgot about the other thread you created? [url]http://www.daniweb.com/techtalkforums/thread37225.html[/url] I answered the question and even helped a little, but it looks like your just another idiot looking to get his homework done.

Member Avatar for server_crash
0
112
Member Avatar for some one

Here's your problem: cust.check_type(type,balance); You're calling that method on a vector?

Member Avatar for iamlearning
0
123
Member Avatar for bondito
Member Avatar for Evenbit
0
175
Member Avatar for iamthwee

I hate to post an external link, but take a look at this: [url]http://www.wizardsolutionsusa.com/forum/showthread.php?t=100[/url]

Member Avatar for jwenting
0
1K
Member Avatar for mariposa104

I don't see any hypotenuse ( side1, side2 ); method. Also, why do you have to main methods? [code] 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 …

Member Avatar for server_crash
0
317
Member Avatar for server_crash

I have a weird question. I'm trying to access a .txt file from a java applet, which would reside locally. When running this with the applet viewer, everything works fine. When you click on the .html file, however, you get an accesscontrolexception. I find it weird that the applet viewer …

Member Avatar for server_crash
0
194
Member Avatar for hatch101

[QUOTE=hatch101]r all u guys on here super java geniuses or just ppl lookin to bash on noobs! :D[/QUOTE] It's obvious you want your homework done for you. Have you even tried yet? I haven't seen any work..

Member Avatar for Phaelax
0
1K
Member Avatar for Phaelax

I'd like to recommend putting the drawing in a seperate class. It always seems to make errors easier to fix that way.

Member Avatar for Phaelax
0
179
Member Avatar for winbatch

Why not use a Set and specify the string size as a sorting criterion? That way, when you want to find the longest or shortest string it would be a one liner.

Member Avatar for winbatch
0
4K
Member Avatar for namit

Use a Random object or something: Random random = new Random(2); int rotation = random.nextInt()+1;

Member Avatar for server_crash
0
134
Member Avatar for blackbabydoll

Student[] values = { new Student("Tom", 87), new Student("Cindy", 100), new Student("Pat", 75), new Student("Anne", 92), new Student("Matt", 82)}; Shouldn't that be a 2D array?

Member Avatar for server_crash
0
134
Member Avatar for tamilblast
Member Avatar for WebDressing
0
313
Member Avatar for Xtothel
Member Avatar for Dabdob

[QUOTE=Dabdob] I want in the printf function to print this Question with each element [/QUOTE] Why use printf? Just use cout. Also, why use a char array when the STL provides a string class? If it's three or MORE people then use a vector since you don't know the exact …

Member Avatar for server_crash
0
132
Member Avatar for dlh6213

[QUOTE=shephunts]My advice: Read reviews before buying a computer. That will steer you away from Dell everytime. Secondly, if you have to buy replacement parts, either buy another computer with quality, or pick the parts out yourself so you don't pay full price for very low quality parts.[/QUOTE] Couldn't have said …

Member Avatar for alc6379
0
159
Member Avatar for apollon
Member Avatar for dcc

Don't you hate crappy tech support, especially when they can't speak english? I spent weeks trying to comunicate with Dell, but you can't when they're from India or whereever they pick them these days. Personally, it makes me feel better if I yell at them and make them feel as …

Member Avatar for dcc
0
88
Member Avatar for cybergirl
Member Avatar for jwenting
0
356
Member Avatar for perpetual_dream

[QUOTE=perpetual_dream]I'd like to remotely control a small car through wireless transmission by using the computer as my graduation project. I will draw the path of the car and the surrounding dimensions on the pc, and the path that i move on the pc will make the car move in the …

Member Avatar for Kegtapper
0
224
Member Avatar for gokul

Hmmmm.... Maybe add a component listener to your JFrame(extending Component Adapter). Then you should get a method labeled componentResized(). In that method you need some custom checking.

Member Avatar for mmiikkee12
0
81
Member Avatar for nisaa15

You could use a StringTokenizer to read everything that's a word(doesn't read white space). Get the length of the word. In a for loop you can process the char at index 'i' by using charAt(i).

Member Avatar for mmiikkee12
0
209
Member Avatar for NSCelica

You can try the StringTokenizer which allows special delimeters. Also, I'm not sure a 2D array is the best way to go, but can't say for a fact that it's not. If you post your parsing code we could probably help more.

Member Avatar for NSCelica
0
94
Member Avatar for kdw3

Try: cout << "\\" << (an expression) << "\\"; \ is an escape sequence, so you must treat it with extra care.

Member Avatar for server_crash
0
74
Member Avatar for blackbabydoll

Take a look at your loop: for (int j = 0; j >=1; j++) Your condition: j>=1 This is the same as saying "loop while that j is greater than, or equal to 1. You start your counter j=0 which means j is zero (not greater than 1). It never …

Member Avatar for server_crash
0
135
Member Avatar for war_criminal

[QUOTE=war_criminal]Are you frightened?[/Quote] Only of Satan and his friends in those pictures. [Quote]Do you guys care?[/QUOTE] Nope.

Member Avatar for war_criminal
0
159
Member Avatar for SpS
Member Avatar for Dani

Dani, Did you ever figure out why this was happening? I'm having some problems with blogging software that doesn't seem to send the confirmation.....I think it gets stuck in the spam box or the email client simply blocks it.

Member Avatar for Dani
0
211

The End.