32,199 Topics
| |
hi. more or less a stupid question, but anyway.. why have a 'finally' statement in java exception handling -why not just clean up in the 'catch' clause?? is it for when an exception cannot be caught?? if not, then 'finally' seems a little redundant to me.. cheers. :eek: | |
hi, my next button displays next record from the database. But after i save a record, next button don't work. Im not sure but is the next button not working because the resultSet needs to be refreshed after saving a new record? I have created the statement and resultSet in … | |
it is my first time ever learning a programming language, and I am still very confused about some things. We are using Jbuilder, and I find that I am still getting a lot of errors. i am posting this in hopes that some one can maybre give me some points … | |
Hi everyone, I have an embedded jcomponent in a jtextpane and i am trying to print the contents of the entire jtextpane to the printer i have. The program does not seem to work but if i use an embedded icon instead of an embedded jcomponent the program works fine … | |
Hi everyone, I need to ask a very generalised question. I have an embeded image in a textpane and i would like to know how to get hold of that image and store in an image variable when the user uses the mouse and highlights(selects) that particular image. I only … | |
my ap computer science assignment is basically to do the following: - Front menu gives the options to edit, save, delete, search for books (about 10 books) - In the edit menu, it gives more options to edit book title, author, and date published and save it. -delete menu lists … | |
:rolleyes: hi guys if there is any 1 out there who could just provide me with some help with java ,im in my final yr of computer science and have got to design a GUI that implements jdbc to creat an online auction system any pointers or help as to … | |
heres the problem; some one inputs a 4 digit number e.g 1234 I stored it as a string and i have to display it in a messagebox like ----------------------------- the digits are 1 2 3 4 ------------------------------------ How? p.s i know how to do trhe input box and display, but … | |
I was hoping that someone could show me how to use the equals method to change numbers that were entered. Three numbers are entered and the user is asked if they need to change a number. This is followed by a yes or no. It says if the answer is … | |
Hi, HELP. An automatic update put Internet Explorer 6 on my hard drive/WinXP. This new version of IE6 has a new security feature that blocks EVERYTHING from being downloaded from a website. Including java applets. To turn this off you have to go into control panels/internet options and add EACH … | |
okay u got me its not interesting at all but i thought if i said that more people would have a look!!!! sorry im trying to create a server that after the 10th connection of a client reads files and sends to the client, the client then sends back an … | |
I made a post about a wee and a half ago about a program I had no clue how to do. Well I worked hard at it, I'm very new to programming and I have ONE error left. I don't know where it is I have looked at it so … | |
need some help with my java code. i'm getting incompatible types error. can anyone tell me what's wrong with my code? import java.io.*; public class ifelsechain2 { public static void main(String[] args) throws java.io.IOException { String string1; int num1; InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); System.out.println("Enter … | |
I’m having problems with my do-while loops and my while loop. Also my switch statement ends and does not loop to ask for another input. I’m confused. Any suggestion that can help me or send me one the right track I would appreciate it. This is the assignment: The Miskatonic … | |
hi everyone, can anyone solve me the code for the java problem. i need a java programthat holds twenty integers in an array, loop though each cell sequentially and prints each number on the console. thank you very much. shantuli | |
hi everyone, I have a textpane using the default styled document. This textpane contains a icon and some formatted text. Next i have a file saved to my disk which is a document of another textpane. What i want to do is be able to append the two documents together … | |
Hello everyone... im very new to Java... n im doing a java program 2 read from text files... the problem is after i read the 1st line ..the 1st number will be my max value... n after i read the second lines, there will be many values input by the … | |
Hi everyone I have written an applcation and now its the step that I want to make user authorization ! but I don't know any thing about it ! if anyone knows please introduce me some articles or please guides me ! thanx for your help | |
My teacher has told me I need a build file for my networking prodject. The problem? I have NO IDEA what a build file is, let alone how to implement it. Is anyone available to step me through it? :-| | |
Hi All, I am working with Internal Frames. I used JDesktopPane and added 2 frames to it. I made one frame visible and the other was setVisible(false). This happens when I first run the program(Only first frame appearing). Now, what I want is to make the second frame visible, when … | |
hey, i'm in a high school computer science class and we're learning java..anyways, i've got this lab that i've been working on but i don't quite know how to proceed. heres a scan of the lab sheet. [IMG]http://www.bellsouthpwp.net/c/h/chungaroo/cslab%20004.jpg[/IMG] here's what i've done so far: [CODE]{public static void main (String [] … | |
Okay, I'm doing a program where a menu pops up and it deals with the roster of a basketball team. You can add, edit, delete, and view the players. All of this is working but my problem is with sorting the players. I'm using an ArrayList (ArrayList contains each player's … | |
I wanna ask .... if I want to save the content of JEditorPane or JTextPane in a file without losing the formatting ... how should I do it .... If I save it to a string ... all the formatting is lost . | |
hi all Can anyone tell me wat is Synthetic field in Java if possible send me links also thankx in advance | |
hey guys, im in ap computer science (java) and now we are doing constructors, and i am lost, i dont know how to make a constructor, i am soooo clueless, im starting to pick up but no way near close to undresstanding, can someone give me a crash course in … | |
hi all, i am a beginner in java programming.Could anyone please provide source code for the following program. A program that reads a integer and breaks it into a sequence of individual digits in reverse order.TQ. | |
hey all what are pros of jdic ref avilable at java.net try this........................... | |
hi everyone, pls solve me the following problem. i need a java program that stores the following string in a two-dimensional char array : "Bell" "Dell","Hell" and "Sell".extend the programe to read the array and display each caracter in a console window. thank you. shantuli | |
I really like to play chess and thought about trying to actually make a chess game. Only im not sure were to even start. If anyone in here has ever done this can you give me some tips on how to get started and how difficult of a task this … | |
hi everyone, can anyone pls solve me the following problem. i need a java program that holds at least three records for friendsof your in memory.each record must consist of at least : a name and an e-mail address the program must also able to find each record if the … |
The End.