1,034 Posted Topics
Re: Alter your environment variables to point to the current directory. | |
Re: Yes, then we should nuke the place and say screw everyone but ourselves. | |
Re: You could call shutdown-a, but it's not going to automatically restrict it for you. | |
Re: [QUOTE=Phaelax]This is a question from a mid-term I had awhile ago. I just want to hear what you guys think the answer is, because I just can't agree with the teacher on this. A(n) ____ is a listener interface that listens for any events that occur during the execution of … | |
Re: The biggest problem is multithreading. If you want to use it with a GUI then you'll most certainly have to use multithreading. I made a really crappy one a while back just as a console application, because the multithreading got to be a pain. | |
| |
Re: [QUOTE=Nazaria]hi... my name is nazaria segundo... and i have a question really hard for what i know... i have to solve the definite integral of 1 over (sin square of X) plus (4 cos square of X) if any one can solve it pls let me know!!!! thank youuuu[/QUOTE] What … ![]() | |
Re: [quote] please show me the way to do this. [/quote] Insert code into editor? | |
Re: setHorizontalAlignment(JTextField.RIGHT); or something like that. | |
Re: I use Dev-C++ which does well with compiling, but I don't like the indentation mechanism of it. It doesn't properly align everything like it should... | |
Re: Create a Random object right before the loop. Inside of the loop, you have your normal thing and then the last 'sensor' parameter would look something of the sort: [code] sensor[random_name.nextInt(10)+1]; [/code] That would give you a random number from 1 to 10. | |
Re: Decimal form: use DecimalFormat Fraction Form: use modulus division and a little math. | |
Re: Think of doing two things at once. You could consider that using two threads. Threads make multitasking more efficent and possible. | |
Re: diagnol on a board like this: 00 01 02 10 11 12 20 21 22 Would be 00,11,22 or 20,11,02 The first part can easily be done with a simple loop. The second diagnol may take a little thought. ![]() | |
I just installed VS.NET 2003 with a lot of difficulties... There was some kind of problem with the windows installer, so I had to do the following to make it work: [quote] Click Start, click Run, type MSIEXEC /UNREGISTER, and then click OK. Even if you do this correctly, it … | |
Re: You should call setBackground() on the container rather than the frame. Conn.setBackground | |
![]() | Re: Vectors shouldn't be used, because ArrayLists are simply better ;) StringTokenizer isn't that bad, but I think the newer version is called StringBuilder... I could be wrong about that one. |
Re: [QUOTE=monisola]will like to know more about java programming language[/QUOTE] yeah, okay. | |
Re: Why does int menu return an int, but you aren't returning anything? The itemCost method is the one that should be returning something, in my opinion. | |
Re: I'm going to start a petition to raise seller fees. | |
Re: You aren't appending to the file anywhere. You create the OutputStream with the proper second parameter, but not writing to it. | |
Re: [quote] could u help me plz [/quote] I couldn't find anyone by the name of 'u' in the memberlist? | |
Re: I don't see where you're encrypting it... You get the char value from the int value, which is from the same char value, so you're really doing nothing there. You need to get the ascii value and add least add something to it. | |
Re: I would use a map, definately. Create the map and then when you go to insert something, it would be like this: map.insert( make_pair("Dog","Big fury animal") ); That's how I would do it, but of course there are many solutions to this. | |
Re: [QUOTE=hamzeh]I need some programs when program runnig show script , memory usage and modules. please help me[/QUOTE] :lol: :lol: :lol: ![]() | |
Re: Good luck fixing that. The ONLY thing I can think of trying is using a scrollpane and then adding the editorpane to that. If that doesn't work then I believe you are out of luck. | |
Re: Java is not JavaScript. JavaScript is not Java. Try the JavaScript forum :) | |
Re: Looks like you need to compile the hangman class first. | |
Re: There's no return statement at the end of the string method. The unreachable statements are anything after your first return statement, because there's no case statement involved... It will always execute making anything below that not execute. | |
Re: [QUOTE=erez131165]I need this script: [URL="http://www.jscode.com/js_auto_bookmark.shtml"]http://www.jscode.com/js_auto_bookmark.shtml[/URL] i just dont know how to make the link as a picture, insted of "bookmark us!" text/ any help with this ?:eek:[/QUOTE] Maybe the JavaScript forum could help you? ![]() | |
Re: If you think this forum is bad, then post in the sun.java forum! You'll get some delightful comments there. | |
![]() | Re: I had a really awesome piece of code that would plot ANY order of polynomial virtually with no work and virtually no real utility methods. I may have it and may not :) I'll look for it though. ![]() |
Re: Get each character and cast it to an int. output each int in the order you read. | |
Re: To cut down on parenthesis you could call toString(): stack.lastElement().toString() | |
Re: I'm not very good at diagnosing specs vs prices, but I would almost say it's a bit pricey. I personally wouldn't pay that much for the specs. What exactly are you looking for in a laptop? | |
I've got the following code: [code] template <typename T> int Histogram<T>::get_occurances(const T& obj) { map<T,int>::iterator find_occur = frequency.find(obj); if ( find_occur == this->frequency.end() ) { return 0; } return ( find_occur->second ); } [/code] The following line always gives me an error saying ';' expected before find_occur. map<T,int>::iterator find_occur = … | |
Re: I was at the mall with a couple of girls one day and we were coming out of a store. I was trying to figure out something on my cell phone so I was looking down at it walking. The store had glass walls, by the way. We were walking … | |
Re: getNextDay() and getPreDay(). These methods don't have a default return value and may never return. | |
Re: Instead of filling the rectangle just draw it in a different color.... | |
Re: I believe you can get the lable of the button: JButton.getLabel(); that could be deprecated so you can also simply try: JButton.getText(); | |
Re: Java IS NOT JavaScript. JavaScript IS NOT Java. | |
Re: Did you say you were getting paid for this? If so, you should have the experience to do it yourself. | |
Re: Since you are using arraylist, use the contains() method to check if the entry already exists. If it doesn't, then add it. | |
Re: I don't like being a posting wiz. Most forums allow you to have custom usernames when you reach like 1000 posts. I would like that, but I'm not the administrator. | |
Re: What exactly do you want us to do? We're not going to do your homework. |
The End.