31,001 Topics

Member Avatar for
Member Avatar for JOskydive

I'm glad I found this forum. Just doing seraches has helped me already. However, I am having a problem with my assigment. I want to open data.txt file, read the file line by line. Each line has four items, int, string, int, and double. Then put the items into an …

Member Avatar for JOskydive
0
95
Member Avatar for cheenu78

hi all, I am trying to connect to Oracle database from a black berry device. I am not sure how to go about starting this assignment. I am open to suggessions. Thanks Srinivas

Member Avatar for server_crash
0
65
Member Avatar for freesoft_2000

Hi everyone, I am trying to read emails in from a stmp server without javamail api's and i so far have only managed to read the e-mail messages but i can't seem to read any attachments that come with it. I am not very sure as to how i should …

0
52
Member Avatar for bigriggers

Hi folks, I have to answer the following question: "Write an applet which contains a panel whose background colour varies as the elevators of three Scrollbar objects are varied. Each Scrollbar object affects one colour constituent." I think I'm pretty close, but I can't figure out why only one of …

Member Avatar for bigriggers
0
133
Member Avatar for yarlini

HI ive been trying to do some java program and when ive tried to run this program which, ive had 3 errors saying cannot resolve symbol for 'DrawFrame/DrawPanel' im not sure wat the issue here is, the program is as follows: import java.awt.*; import java.awt.geom.*; import javax.swing.*; public class Drawing …

Member Avatar for server_crash
0
1K
Member Avatar for harish1980

hello, i'm harish from chennai. i'm in my final year M.Tech (I.T.). i'm planning to do my final year project in java. I would want some suggestions for the title for my projects. i would appreciate your early response. My mail id is [email]venugopal.harish@gmail.com[/email]

Member Avatar for server_crash
0
80
Member Avatar for Ghost

Is there a way to send a command to CP (like run an exe file)? In C++ you can use the system() function, but i think in java you use Runtime. Thanx in advanced!

Member Avatar for cheenu78
0
402
Member Avatar for cman

Ok I have done this program where there are 2 buttons, one to enter price and one to calc average, so the user enters an randome amount and click the enter price button then user can keep entering more and then click calc average button to get average, but problem …

Member Avatar for server_crash
0
94
Member Avatar for blee
Member Avatar for mmiikkee12
0
93
Member Avatar for gzero14

This problem is especially annoying because it works on my computer. I think it has something to do with this computer being the one that it was compiled on... Anyways, here's the page: [url]http://hp-h.com/p/gzero14/java/HydraSWApplet.shtml[/url] Since I used basically the same html for some other applet and that one works, I …

Member Avatar for server_crash
0
237
Member Avatar for server_crash

Could someone please tell me how to hyperlink to a page? Say if I had a combobox and the user selected an item, how could I hyperlink to a page?

Member Avatar for server_crash
0
110
Member Avatar for deineMutti

Hello Smart People, I'm implementing an Ant Simulator (swarm search stuff) and I'd like to be able to load different "species" of Ants (.java classes that implement an Ant interface). I've been having trouble creating "num" of a certain species and initializing their initial position. If num = x, then …

Member Avatar for jwenting
0
272
Member Avatar for freesoft_2000

Hi everyone, I am trying to add html tables to a html document and the html table appears but here is the problem in that only certain attributes of the table is being adhered to and the rest ignored. This is what i am doing [code] String table = "<table …

Member Avatar for freesoft_2000
0
140
Member Avatar for chetanpandey

Hi All: I am new to this List. I am creating a Swing GUI based Word Processor which takes in English Text and using KeyListeners converts it into Unicode Devanagari - the Script used for writting The Hindi Language of India - which is dispalyed in a JEditorPane set to …

Member Avatar for chetanpandey
0
148
Member Avatar for luisator

Hi everybody! The application I´ve been working is almost done, first of all thanks to all for your help. But now I want to do something extra and don´t know if is possible. My application starts when I call a bat file with the javac and the java command to …

Member Avatar for stupidenator
0
142
Member Avatar for server_crash

I have a "dynamic" JComboBox. What I mean by that is items are removed and added on "the fly". The getSelectedIndex() is returning -1 when an item is selected. I looked this up and it indicates the selected item is not in the list....What in the world does that mean? …

Member Avatar for server_crash
0
95
Member Avatar for George2

Hello everyone, When running the following block of source codes (the MMAPI library I am using is downloaded from [url]http://www.sun.com/software/communitysource/j2me/mmapi/[/url]) [Code] public static void main(String[] args) { try { Player player = Manager.createPlayer"http://localhost/sample.wav"); player.start(); } catch (MediaException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } [/Code] java.lang.UnsatisfiedLinkError …

Member Avatar for George2
1
303
Member Avatar for luisator

HI everybody! I am starting a visual basic application from java with the following routine: Runtime rt = Runtime.getRuntime(); try { Process p = rt.exec("Grabacion"); } catch (Exception e) { e.printStackTrace(); } I want to know if there is any method in java that can make this application "grabacion" stop …

Member Avatar for server_crash
0
75
Member Avatar for africanhind

Hello, I’ve become a member here just about five minutes ago and honestly I can feel I’ll get a great help from you, and that what I hope. I’m on my final year in School of Math. Department Computer Sciences, And I’m really in need of a graduation project proposal. …

Member Avatar for server_crash
0
304
Member Avatar for luisator

I wanted to know what do I have to change in the SAxparseryFactory code to make it work in an windows xp OS. It is not working and I think I have to modify something of this code to make it work....please HELP ME!!!!

Member Avatar for luisator
0
97
Member Avatar for George2

Hello everyone, Does anyone know where could I find open source OMA Device Management client? thanks in advance, George

0
60
Member Avatar for Java John needs

Hey to everyone out there. I am new to this and seeking assistance with a java program assignment. if anyone can help let me know. The program is completed all I have left is to produce accurate output of a students grade. Here is the code: The code is supposed …

Member Avatar for server_crash
0
305
Member Avatar for scb10

i have this string SD125,SD478-SD478 SD147 i need to separate,but i need to know which delimeter i use becouse i did this StringTokenizer sd = new StringTokenizer(fileStringSD, ", -"); while (sd.hasMoreTokens()) { String cad = sd.nextToken(); system.out.printl (cad); } it separetes and i get SD125 SD478 SDSD147 THE TROUBLE COMES …

Member Avatar for scb10
0
113
Member Avatar for ultimate_fusion

I have two classes. block and main public Block(Stage stage) { super(stage); //fill array where[t][s]=i; i++; system.out.println(where[t][s]); } and the main. the problem is I create an instance of the class block and I know it runs because I put a system.out there and the I a list of printed …

Member Avatar for ultimate_fusion
0
147
Member Avatar for stupidenator

Hey all, Does anyone know if it is possible to send email through a java applet? Thanks in advance. Nick

Member Avatar for stupidenator
0
137
Member Avatar for rishiraj_bayerd

hi all, when i am going to run a servlet through internet explore,i got a error message "resource not available". I use apache Tomcat 5.5 and jdk1.5.0. CLASSPATH of the CATALINA_HOME and JAVA_HOME are all right. What is the cause behind it? thanking you rishi

Member Avatar for server_crash
0
117
Member Avatar for sparkette

Hey guys. I was told to do an assignment, to demonstrate how a high priority thread gives a low priority thread a chance to run using the sleep function. The assignment has already been submitted and already graded. The following code when compiled not only creates a ThreadSleep.class file, but …

Member Avatar for sparkette
0
104
Member Avatar for freesoft_2000

Hi everyone, I am trying to print something but i need to ask something really so bare with me a little while You know that for printing something using the java printable interface you would have to overide this method [code] public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) { …

0
64
Member Avatar for zoned

Hi all, I have spent a long time trying to get this sorted. I have searched high and low to get an answer. I hope one of you experts can help :mrgreen: I have a gif on a webpage (a chinese flag). When someone clicks on the gif they are …

0
54
Member Avatar for hisrichness

Hey, I have to write a Java program that implements a sorted linked list to be able to count the number of chars and words in an input file. would any1 be able to help me please? Thanks

Member Avatar for jwenting
0
117

The End.