1,034 Posted Topics

Member Avatar for server_crash

Is there a really simple mod out there for creating subforums? Specifically for 2.0.16

Member Avatar for Sp!ke
0
358
Member Avatar for arwa

Sounds like a neat problem to do. We aren't allowed to give anyone homework help unless they show some effort. If you do, we will be more than happy to help out. In the mean time, look up synchronizing threads. I've done a problem similar to this where two people …

Member Avatar for server_crash
0
83
Member Avatar for prakharprakash

That's some dirty spyware. I had something like that once and it took forever to get it off. I'll try to find out what tools I used and get back to you.

Member Avatar for dlh6213
0
609
Member Avatar for server_crash

Take this situation: A Hospital Database containing information on over 800 employees. Which database software would you use? Is Access just as good as mysql?

Member Avatar for freesoft_2000
0
195
Member Avatar for server_crash
Member Avatar for Narue
0
268
Member Avatar for xerop

I think you want javascript. Java can do this, but it's not going to be some script you plug into an html document and it runs. You could use jsp or servlets to EASILY get their ip. By the way, if you just need to find their ip, got to …

Member Avatar for server_crash
0
295
Member Avatar for MFal

I would put them into a String, create a String Buffer and then reverse it: int x = 123; String s = x+""; StringBuffer sb = new StringBuffer(s); sb.reverse(); That reverses the String, then you can parse it back to an int. I do have a recursive solution to this, …

Member Avatar for server_crash
0
233
Member Avatar for rpratt

My Java books: Teach yourself Java 2 in 24 hours --- Good if you want from ground up. Java 2 Primer Plus -- Excellent book. J2ee Core Patterns -- Haven't read it yet Java 1.5, A developers notebook --- Excellent Java 2 Certification -- Excellent Head first servlets and JSP …

Member Avatar for xerop
0
387
Member Avatar for vex

To create an array of Deck objects, you need to initialize the array with the amount of elements: Deck[] d = new Deck[3]; Then, d[0] = new Deck(); Like that....Let me know if you need a little more information.

Member Avatar for server_crash
0
190
Member Avatar for JavaFish

Use the Random Class. It's more random than Math.random(); [Code] import java.util.*; public class RandomClassTest { public static void main(String[] args) { Random randNumGenerator = new Random(); int[] x = new int[7]; for (int i=0; i<x.length; i++) { x[i] = (randNumGenerator.nextInt(100)+1); } } } [/Code] Be sure to add 1 …

Member Avatar for JavaFish
0
350
Member Avatar for Catweazle
Member Avatar for Amor

[Code] \|||/ (o o) |~~~~ooO~~(_)~~~~~~~| | Please | don't feed the | TROLLS! '~~~~~~~~~~~~~~Ooo~~| |__|__| || || ooO Ooo [/Code] Thanks, Daniweb Troll Management Team.

Member Avatar for freesoft_2000
0
172
Member Avatar for server_crash

I know it's possible to connect two forums to one database, but I don't know where to change the table prefixes. This is phpBB, by the way. I'm using some kind of web hosting tools, so it didn't give me the opportunity to change the prefixes when I installed it. …

Member Avatar for Troy
0
141
Member Avatar for american212001
Member Avatar for md16185

Basically it's like he said: look up sockets. The PrintWriter will probably be used, but you have your options open for choosing a Class that will read and write data. Split functionality up as much as you can when writing out the classes. And that's about all I have right …

Member Avatar for freesoft_2000
0
490
Member Avatar for Cain

I agree with you to some extent, but most of the usefull technology probably isn't going to wind up in just anyones hands. The reason so much useless crap is coming out, is because people are never happy. If someone asks you how much money you want and you say …

Member Avatar for jwenting
0
256
Member Avatar for rpratt

Well, none of those are functions in the math class. You can find a list here: [url]http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html[/url] I can help you with a few of those: To get the cube root: Math.pow(base,3); To get log base 10 of X: int answer = Math.log(x)/Math.log(10); To get hypotenuse a little more work …

Member Avatar for server_crash
0
337
Member Avatar for zoltzer
Member Avatar for fba

[url]http://www.brpreiss.com/books/opus5/html/page512.html[/url]

Member Avatar for Narue
0
116
Member Avatar for Kennedy_f

Be prepared to take some time on it. The book by Kathy and Bert took me a LONG time to read! Not that I'm a slow reader, but you just can't zip through something that packed with information. I still don't think I'm ready for it. I've read some parts …

Member Avatar for jwenting
0
179
Member Avatar for xonicide

I don't really look like the steriotypical geek, so I have no problem in getting girls that look more than descent.

Member Avatar for Cain
0
512
Member Avatar for server_crash
Member Avatar for barrabomber

[Code] \|||/ (o o) |~~~~ooO~~(_)~~~~~~~| | Please | don't feed the | TROLLS! '~~~~~~~~~~~~~~Ooo~~| |__|__| || || ooO Ooo [/Code] Thanks, Daniweb Troll Management Team.

Member Avatar for server_crash
0
99
Member Avatar for asatrujesus

It's your structure. You need a while loop: BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); char c; do { c = (char)br.readLine(); } while (c != 'e'); Something like that.

Member Avatar for cheenu78
0
225
Member Avatar for cman

Think it's like he said, it's case sensitive and wants the X capitalized. You can compile without it, but you won't get the warnings. javac ProgramName.java -Xlint

Member Avatar for server_crash
0
170
Member Avatar for mmiikkee12

You would probably wind up using JNI(think that's the right now), and a lot of other third party api's and such...Just my guess though.

Member Avatar for Sauce
0
692
Member Avatar for asatrujesus

It's prefence. As long a you have an String array as the argument, it can have any name, and be "formatted" anyway. public static void main(String[] args) public static void main(String args[]) public static void main(String[] s) public static void main(String s[]) All of those are perfectly legal. Actually as …

Member Avatar for freesoft_2000
0
212
Member Avatar for server_crash

Take just this simple method from the graphics class: fillOval()....Why is it abstract? Or better yet, where does it become concrete? I know I've never had to create my own implementation of that method.

Member Avatar for jwenting
0
452
Member Avatar for grajeshmsc

why would you allow the user to enter the path anyway?(not that it's a bad thing) Why can't you use a file browser?

Member Avatar for mmiikkee12
0
158
Member Avatar for joshSCH

I don't think you want JTextFields. Look up JOptionPanes. They give you many options to get input from the user via an input box.

Member Avatar for server_crash
0
434
Member Avatar for Debugthiss

Why not start with a simple example that uses nothing but the command line. [Code] class test { public static void main(String[] args) { int grade1 = Integer.parseInt(args[0]); int grade2 = Integer.parseInt(args[1]); int average = (grade1+grade2)/2; System.out.println("average --> " + average); } } [/Code] That will give you some experience …

Member Avatar for Debugthiss
0
207
Member Avatar for server_crash
Member Avatar for jwenting
0
117
Member Avatar for linuxrobot

He's seeing double because he's staring at objects too long. I have the same problem, but it's PERFECTLY normal(at least that's what the doctor said).. Now, if he's can't see things far away, get to a doctor. My perscription is 20/500....Now, unless he wants to have eyes that bad, he …

Member Avatar for linuxrobot
0
198
Member Avatar for MsEbonee

[QUOTE=MsEbonee] I don't even know how to begin!!! [/QUOTE] Or do you not want to begin? :eek:

Member Avatar for jwenting
0
148
Member Avatar for asatrujesus

How are you compiling this?? are you using the form: javac ProjectName.java to run java ProjectName Have you changed your CLASSPATH variable?

Member Avatar for asatrujesus
0
443
Member Avatar for server_crash

[url]http://www.amazon.com/exec/obidos/tg/detail/-/B00017JKEY/sr=1-10/qid=1120812837/ref=sr_1_10/002-5104756-7860846?%5Fencoding=UTF8&n=3600311&s=gourmet-food&v=glance[/url]

Member Avatar for JJ___
0
160
Member Avatar for Leo Vite

You need to come up with a formula for calculating the number of spaces to use at the beginning. There is an alternative way by using char arrays, but that is very difficult.

Member Avatar for Leo Vite
0
125
Member Avatar for CoolHandLuke

You'll have to explain the 1st question a little more. One the second question, if you are using a JTextField to display data, you can set the horizontal alignment. [Code] textField.setHorizontalAlignment(JTextField.CENTER); or .RIGHT or .LEFT or .LEADING or .TRAILING [/Code]

Member Avatar for compiler
0
266
Member Avatar for server_crash

I'm trying to make a simple calculator and whenever I want to add text to the textfield(say a number) it will show up, then will dissapear. [Code] function display(number) { var x = document.form1.displayText; x.value = number; } [/Code] This is how I'm doing it, but why is the text …

Member Avatar for server_crash
0
241
Member Avatar for freesoft_2000
Member Avatar for bsunkel
Member Avatar for JavaDeveloper

Just in case, here's kindof what he's talking about: [Code] public class Card { private int [] rank= new int [13]; private String [] suit={"Spades","Hearts","Diamonds","Clubs"}; //Not used? public Card() { super(); } public void setRanks(int []rank) { for (int i=1;i<=13;i++) { rank[i]=i; } } public int getRankAt(int index) { return …

Member Avatar for server_crash
0
155
Member Avatar for v2_vehooi

I would suggest adding one to the end of the generated number or else you wont ever reach 200.

Member Avatar for server_crash
0
108
Member Avatar for mgdz

It's possible, but I'm not 100% sure. I believe you can it's just you must recall the paintComponent() method in the run method: [Code] g2D.drawLine((fnx1) + 80, (fny1) + 80, (fnx) + 80, (fny) + 80); this.paintComponent(g2D); [/Code] Since the paintComponent is expecting a graphics object, i believe you MIGHT …

Member Avatar for server_crash
0
134
Member Avatar for bushman91

There is one sure way of knowing: USB 2.0 was introduced in 2001, so if you bought it before then, you don't have 2. You could check the device manager and see if your controllers are enhanced, if so, they're 2.0..If not, buy a PCI card for hardly no money....That …

Member Avatar for server_crash
0
169
Member Avatar for server_crash

You have to watch these videos. These are some of the most amazing animals I have ever seen: [url]http://www.holylemon.com/GeniusBird.html[/url] [url]http://www.holylemon.com/KarateChimp.html[/url] [url]http://www.holylemon.com/ElephantSoccer.html[/url]

Member Avatar for Letscode
0
73
Member Avatar for server_crash

I'm trying to create a calculator using the gridbag layout, but I can't even get started. This layout managers keeps starting stuff in the direct center of the frame and wont put anything anywhere else. I tried this: c.anchor = GridBagConstraints.SOUTH; I just can't seem to get this thing working. …

Member Avatar for SERIAL THRILLA
0
311
Member Avatar for Docmattic
Member Avatar for Lexani

If you've had no experience with building and programming pages of that quality I would suggest you start out with geocities. You won't be able to build something of that caliber, but it will be a good experience. geocities.com They offer free hosting and good beginner tools, but again, you …

Member Avatar for numerouno
0
239
Member Avatar for NewAtJava

Basicly it comes down to creating a formula to convert your coordinates into screen coordinates.

Member Avatar for techy
0
113

The End.