31,002 Topics

Member Avatar for
Member Avatar for server_crash

Does anyone have a few good sites that give you some practice java questions? I'm not tallking about java certification questions, just regular old java questions about the language. I need a lot of them, so please post as many sites as you can.

Member Avatar for server_crash
0
186
Member Avatar for markymarkb1000

Hi folks...I have a Class called Model which I am using to iterate through a string, tokenize it, and then access a method in my GUI class which is supposed to change the color of the borderLayout panel. I am getting this error. I have tried to make me Model …

Member Avatar for server_crash
0
492
Member Avatar for Ghost

Hi, I wrote this program and I was wondering if there was a way to save the picture I'm creating using the graphics class. Here's my code: [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class paint extends JFrame implements ActionListener { private int pointCount = 0; private Point …

Member Avatar for server_crash
0
150
Member Avatar for freesoft_2000

Hi everyone, I am doing a custom document in which i am always getting an error at the point when i want to use the java HTMLReader class. The compiler says something about an enclosing instance and i really have no idea what the compiler means. Here is the code …

Member Avatar for server_crash
0
135
Member Avatar for luisator

HELP ME PLEASE!!!!! I am developing an aplication with an API for getting my engieneering degree. I have to use a deprecated class because there is no other tha can make what i need. But I am havin lots of problems with the configuration and i keep getting warnings of …

Member Avatar for server_crash
0
116
Member Avatar for vex

How can I generate a random boolean? Is there a method for this? Thanks in advance

Member Avatar for vex
0
124
Member Avatar for George2

Hello everyone, I want to run tasks with priority, i.e. among several simultaneous running tasks, the task with the higher priority will have more chances to occupy CPU time. I have the following 2 issues dealing with the implementation of such feature. - To define each task as a thread …

Member Avatar for George2
0
191
Member Avatar for Eager Student

Hi! to everyone I'm starting out in programming,I need help to develop a class diagram for a Shape class. Include generalizations for child classes Rectangle, Circle and Triangle. Please can you help me here!? Eager Student

Member Avatar for Eager Student
0
115
Member Avatar for Pantera1572

i am lost on this assignment i have 2 problems 1 is printing using for loop and the other is i can not get a to count. Would gratly appreciate any help. Here is what i got below is the desired output....... import java.util.*; public class Lab3_Count { public static …

0
64
Member Avatar for buggytoast

Hi Everyone! THis is my final program :D Of course it's not done...but I just wanted some feedback...and any ideas on how to fix my GUI XD...Any help is appreciated ^^. BUt please don't copy lol XD I don't want to get accused of cheating here...if giving out this code …

Member Avatar for buggytoast
0
398
Member Avatar for ramcol

I need help with a basic interface design, I also need help with the java docs. The project is a booking system which works ok but needs an interface and maybe some tweeking. I am just a beginner with Java but would imagine this project is possibly half a days …

Member Avatar for ramcol
0
52
Member Avatar for Postal Elf

I'm having difficulty determining the correct size of a JDesktopPane. The following code tells me that the size of the pane is 0 x 0 //Inside a JFrame JDesktopPane myDesktop = new JDesktopPane(); this.setContentPane(myDesktop); System.out.println(myDesktop.getSize()); However, after looking in the source for GridLayout.java, virtually identical code is used. //Inside GridLayout.java, …

Member Avatar for server_crash
0
497
Member Avatar for buggytoast

Well the title prett much tells you what error I have XD... so far.... [PHP]JLabel label1 = new JLabel( "AIRLINE RESERVATION", SwingConstants.CENTER ); JPanel panel1 = new JPanel(); panel1.add( label1 ); tabbedPane.addTab( "RESERVING", null, panel1, "FirstPanel");[/PHP] then heres the problem.... [PHP]mealComboBox = new JComboBox( meals ); panel1.add( mealComboBox ); mealComboBox.setBounds( …

Member Avatar for server_crash
0
133
Member Avatar for igf1

Hi Guys, anyone know of anybody looking for a gig doing java that has more than 2 years (or knows java and is just a real whizbang :) ) If so maybe you could have them send me an email [email]igf1@yahoo.com[/email]. we can tqalk about the details. its telecom 40 …

Member Avatar for Phaelax
0
48
Member Avatar for Londos

I need to produce two methods for a class. The method name and details are given but i dont know how to create the code for them to work: 1st: public int daysElapsed (int day1, int month1, int year1, int day2, int month2, int year2) This method returns the number …

Member Avatar for Londos
0
112
Member Avatar for yassar

I formatted my computer today, now I can't compile the files from command prompt, but I can run the compiled ones. How can I solve this problem :o :o :o Thanks

Member Avatar for server_crash
0
190
Member Avatar for freesoft_2000

Hi everyone, I have a jtextpane with a styled document and i am using the rtf editor kit. Is there a way in which i an insert a html table into this styled document. Sample codings would be helpful Thank You Yours Sincerely Richard West

Member Avatar for server_crash
0
166
Member Avatar for UltimateFreq

Hi all, This along with many of the other questions on this forum is from a noob at both the forum and java and was hoping someone could please help me. What im trying to do is read some info from a file and then store it in a linked …

Member Avatar for UltimateFreq
0
182
Member Avatar for gambale

Can any help me with this program?? Problem statement: Develop and test a program to read the boot sector of a floppy disk, print the significant parameters therein, find the root directory and print its nonempty entries. You will need to use the BIOS system calls INT 13H, function 02H …

Member Avatar for server_crash
0
182
Member Avatar for B-80

i am making a program that makes java commands similar to c++ ones, i am trying to use an endl statesment as well, it works if i just type c.endl(); but if i use the endl in my actual string it doesnt like this: System.out.print("helloendl"); Also when i use my …

Member Avatar for server_crash
0
100
Member Avatar for NewbyChic

I am stuck on this big time, I have been floundering here for like 4 hours and if anyone can help I would be SO grateful, I have this program that I have to write that I cannot grasp. I know ya'll dont like to have us noobs posting our …

Member Avatar for NewbyChic
0
205
Member Avatar for rutuja

Hi, I have many applets in my application and for loading applets it takes too much time! I found that for adding panel to container it takes 4-5 sec. My question is that how can I reduce this time? or Is there any alternative way by which my applet will …

Member Avatar for server_crash
0
250
Member Avatar for missdiva
Member Avatar for yassar
0
276
Member Avatar for stupidenator

I'm trying to build a program that uses sockets and connections to connect to the internet. Right now, I use a PrintWriter to send messages out, but I don't like using it? Is there any other alternative to PrintWriter? I don't like the idea of having to flush() when I …

Member Avatar for server_crash
0
131
Member Avatar for Ghost

Hi everybody, I followed the Invaders tutorial and I'm trying to make it into an exe file. I have JBuilder 9 and I tried the "Native Executable" tool and it just opens up the program and closes it. Any help would be appreciated. Thanks in advanced, C++

Member Avatar for nanosani
0
453
Member Avatar for Bud4java

Greetings to all, Thanks to all the readers, posters, and moderators for their assistance and guidance this past semester. I am, by no means or stretch of the imagination, a programmer. I majored in Information Systems and have a networking background, but my degree called for some programming exposure. I …

Member Avatar for server_crash
0
130
Member Avatar for sydneyrustle

hey guys i'm hopeless with java can someone help me out ?? i am using three classes for my program the following two and a ClientUI class this is the menu in my client 1. Add a new item to the collection 2. Load some items into the collection 3. …

Member Avatar for NPH
0
143
Member Avatar for dummy00

java program help.. anyone pls? i have no idea on this.. im a n00b in java Create a program that will input number in decimal number system & convert it to the number system which the user entered Sample Output: Input number in decimal number system (base 10): 25 Convert …

Member Avatar for server_crash
0
226
Member Avatar for sydneyrustle

------Configuration: test2 - JDK version 1.5.0 <Default> - <Default>-------C:\Documents and Settings\crusse15\Desktop\ClientUI.java:71: ')' expected String foundName = st.findName(String itemName); ^ 1 error

Member Avatar for server_crash
0
132
Member Avatar for callow

ive been trying to figure this out for hours, and would appreciate any help. im clumsy with java, have only really had c++ experience and am at a bit of a loss trying to figure out GUI's, my problem goes like this..... basically i need to create different frames or …

Member Avatar for callow
0
217

The End.