Forum: Java
03-26-2011, 08:50 PM
|
Replies: 0
Views: 1,117
Char arrays
Hi, I just started Java (But I do have 1.5 years in c++) and I found that string switchs aren't allowed, so I tried using a character array, now when I try to define the array, it says that char [10...
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 0
Views: 666
Read and display .RTF files
Hello everyone, I am trying to read a .rtf file, does this have to be done using the RTFeditorKit? Can a .rtf file be read line by line like a normal .txt file, as I was planning to read it line by...
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 0
Views: 761
File reading
I've been making a program which reads several strings from a Notepad file which's location is set through user input. Then they enter a string which is in the file, a positive message is shown if...
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 4
Views: 2,750
Help with an Array method
So I have an array <div class="codeblock"> Java Syntax (Toggle Plain Text (http://domainnameforum.org/#))
<div id="code156589321_1"><ol><li class="li1">
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 4
Views: 2,099
Key Event Handling n java
hy friend i want a simple example of keyborad event handling . how i call the the keylistener interface method which are implemented in another class, from main method of program. Second...
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 0
Views: 964
Input...
Hi, I'm very new to Java (started today, though I have 1.5 years in c++) and I've now read a little bit about Java, the thing that I can't find is how to take user input from the keyboard through a...
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 4
Views: 3,001
sum
We want to write two peograms: I: write a program from the investor takes the values of r, n (where r, n positive values greater than the correct one) And calculates the total shown in relation (1)...
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 9
Views: 5,616
If statement in the constructor
Is it OK to have if statement in the constructor Thanks <div class="codeblock"> Java Syntax (Toggle Plain Text (http://domainnameforum.org/#))
<div id="code518186646_1">
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 4
Views: 5,157
String subset using Recursion ?
*I am stuck at a program, where I have to print all the subsets of a given arguments, I printed n-binary digit using recursion but i cant not use the same algorithm. ..lets say % java SubSet acd ...
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 4
Views: 3,201
Rmi
Can anyone tell me which website/book is best to learn RMI and JAVABEANS COMPONENT
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 4
Views: 2,900
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 4
Views: 2,325
JDB2 connecting to db2
I'm trying to connect to db2 but I keep getting errors. I have db2 installed on a windows 7 user account called "db2admin" The database I'm trying to connect to is called "db2database" The username...
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 0
Views: 927
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 0
Views: 943
Graphics and others
Hi. Im making a flash cards program and need help with making graphics, making a menu, making it so that they can go back in and access the decks, and making it so i can give it o other people, and a...
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 4
Views: 2,223
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 0
Views: 998
JPanel BoxLayout nested JPanel alignment issue
I am having a problem with left alignment after adding a second JPanel. Both JPanels are using the BoxLayout with the first set to Y_AXIS and the second set to X_AXIS. If you comment out the...
|
Forum: Java
03-26-2011, 08:50 PM
|
Replies: 4
Views: 3,091
|
Forum: Java
03-25-2011, 05:47 PM
|
Replies: 0
Views: 695
Username Program help
Can someone help me figure out what I am doing wrong here. I think I may be running my head into this way to many times to see what is wrong with it. The error code is posted below. <div...
|
Forum: Java
03-25-2011, 05:47 PM
|
Replies: 0
Views: 504
Tic Tac Toe Array
Hey everyone I need to write a tic tac toe program vs the computer using an array. I have gotten almost all of it done but I am totally stuck on this error. Any help would be much appreciated,...
|
Forum: Java
03-25-2011, 05:47 PM
|
Replies: 0
Views: 533
Update statement for database
hi all, m new to this site and m newbee to this java thing..i have a project dnloaded from somewhere ..and now i have some problem with updating the database ..following is the <div...
|
Forum: Java
03-25-2011, 05:47 PM
|
Replies: 0
Views: 565
Printing TreeMap List values?
Hi, I'm new to Java and programming. I have an assignment I'm trying to do and I'm pretty stumped on this question. I have a TreeMap where the keys are Strings (of musical artists) and the values are...
|
Forum: Java
03-25-2011, 05:47 PM
|
Replies: 0
Views: 539
Regex
Hi, I am trying to use regex to validate an input from JOptionpane i want to allow the user entering ONLY digits, letters and exclametion marks. This is my line of code where i would like to put teh...
|
Forum: Java
03-25-2011, 05:47 PM
|
Replies: 0
Views: 538
converting a timestamp to a different timezone
I tried everything could possibly think of to do this and have spent hours trying to figure it out.. I'm trying to take this timestamp: 2011-03-23 00:43:07 which is in GMT zimezone and convert...
|
Forum: Java
03-25-2011, 05:47 PM
|
Replies: 0
Views: 598
Java GUI Beginner
I want to draw an image at X Y position when the user click the mouse so I'm using an InternalFrame with layout set to NULL , inside a JFrame with Layout free - using netbeans here is the image...
|
Forum: Java
03-25-2011, 05:47 PM
|
Replies: 0
Views: 602
|