36,051 Topics

Member Avatar for
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
193
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
169
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
185
Member Avatar for woodpusher

Hi, I'm a java,php freelance programmer, anybody wants my services pls. email me at:sti_kiddigos@yahoo.com.Thanx more power

0
52
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
186
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
106
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
220
Member Avatar for dbl03

here's the log i ran the other day when i was getting help and then the person helping me just stopped helping me for some reason: Logfile of HijackThis v1.99.1 Scan saved at 12:51:09 PM, on 5/21/2005 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running …

Member Avatar for DMR
0
208
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
255
Member Avatar for det54994

Dear someone, I have a problem when IE6 tries to connect to the web. The green bars at the bottom seem to doing something then they seem to stop and it says page can't be displayed. Interestingly when I use a VPN through to the office network and load IE6 …

0
65
Member Avatar for missdiva
Member Avatar for missdiva
Member Avatar for yassar
0
279
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
136
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
463
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
134
Member Avatar for dbl03

can someone please help me out to figure out what kind of virus/spyware/whatever is causing my computer to run slower, a random "scrap" file to appear on my desktop that i can't delete, and aim "page not found" page to pop up every other time i try to go to …

Member Avatar for dbl03
0
247
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
149
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
230
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
136
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
222
Member Avatar for sydneyrustle

hi all, just looking for some help with setting up an array of items for a stocktake program. i have an item class that works, and now i need to create an array to hold an array of the items. the item class code is class Item { private String …

Member Avatar for yassar
0
120
Member Avatar for Harvester

I have a random String with numbers in it (for an example "G8j3sEb34ab4dk5A") and I need to either tokenize it or be able to just be able to tell where the numbers on that string are. StringTokenizer doesn't work (I think) because A12B should be A 12 B and not …

Member Avatar for miri
-1
55
Member Avatar for berg249913

I have been given a class and i have been asked to write short programs in order to find out the answer. The first question is: "what is the result of calling method1(without parameters)?" The program i was given is below: package ; // approximate imports import java.awt.Frame; import java.awt.event.WindowListener; …

Member Avatar for server_crash
0
94
Member Avatar for apcxpc

Hi all I've programmed a relay chat system in Java. Just having two GUI-related problems with the chat client itself. [B][U]Problem #1[/U][/B] : I can't get the chat windows to scroll as new text appears in them. The scroll bar [i]does[/i] appear when it needs to, but it remains at …

Member Avatar for jwenting
0
394
Member Avatar for bluesmiley

Can someone please help me with this program? it is supposed to ask user to input ten integers which are part of an array and then output that array and then output the numbers in ascending and descending order in an array. can you repair this program? thanks. import java.io.*; …

Member Avatar for NPH
0
149
Member Avatar for nabil1983

hello everyone. ok i got a program (see below i know its long but just copy and paste and it will work),, my only problem is i need to include a search method (i.e. where i enter CDName and it prints out the rest of the details of the CD.) …

Member Avatar for NPH
0
114
Member Avatar for moonduke

Please Help my code for this program is listed below what the program is supposed to do is also listed below. I can't get it to work. The problem Write a program to compress a message consisting of the ten symbols A, B, C, D, E, F, G, H, I, …

Member Avatar for NPH
0
152
Member Avatar for server_crash

I can can use a BufferedReader to open a Streamat the command line, like this: [Code] BufferedReader br = new BufferedReader(new InpuStreamReader(URL.openStream())); [/Code] Once I try to use this same statement inside of my applet, I get an AccessControlException. I know it's something to do with security, but how do …

Member Avatar for Phaelax
0
143
Member Avatar for freesoft_2000

Hi everyone, I have a JTextPane and i am trying to insert tables into the JTextPane. I am using the default rtf editor kit together with styled document. I don't want to use the insert component to simply insert a JTable as if i do that then removing columns and …

Member Avatar for Phaelax
0
104
Member Avatar for freesoft_2000

Hi everyone, I have a JTextPane with an embedded JLabel and i am trying to print the contents of the JTextPane. When i print it an exception gets thrown saying that there is an error in the views. This only happens if i have an embedded jcomponent in the jTextPane …

0
162
Member Avatar for George2

Hello everyone, I want to clone the content of a Hashtable (its keys, its values and its key-value relationship). But I have found that the clone method can not completely clone a Hashtable, as is mentioned in the description of clone method of Java API Specification, Creates a shallow copy …

0
84
Member Avatar for server_crash

Ok, I'm working with some Strings, and these Strings will get remade up to an infinite number of times, and I know that a new object is created each time. So, which is worse.. Keep using the String, and have the value continously change, or Use a StringBuffer, and continously …

Member Avatar for Paul.Esson
0
332
Member Avatar for George2

Hello everyone, I am looking for open source gateway written in Java. It is better a light-weighted and easy-to-configure gateway, which could be used in J2EE/J2SE/J2ME applications. Thanks in advance, George

Member Avatar for George2
0
338
Member Avatar for server_crash

I've been working on this webcrawler and I've ran into a problem. I can read the first URL and get all the URLs out of the HTML code, but I can't seem to set up a looping structure that will work. This is basically what it does: Searches through html …

Member Avatar for server_crash
0
145
Member Avatar for zaman1111

I have a search code from Database. i want to display queries from Database with multiple option. how do i assign variable on both. for example String jsql= "Select * from UserList WHERE '"+abu+ "' = '"+userSearch+ "'"; the full code: <%@ page contentType="text/html; charset=utf-8" import="java.sql.*, java.util.*" errorPage="error.jsp"%> <html> <head> …

Member Avatar for zaman1111
0
232
Member Avatar for EvilObsidian

Thanks for taking the time. I'm a beginner and I ran into a roadblock with the following code. The assignment is to create a class Complex to add and subtract complex numbers and a Class to test it. Unfortunately, I can't get it to compile so I can debug it. …

Member Avatar for server_crash
0
127
Member Avatar for paradox814

my question applies to servlets, but i am hoping it is the same for jsp, how do I stop a page from continuing, sort of like System.exit(0); if I do this in tomcat, it will cause tomcat to shutdown (as expected), is there a workaround for this?

0
77
Member Avatar for Peter

My Computer is windows XP. Please can you tell me do I need jave software installed, and how do I get it. Thank-you

Member Avatar for alc6379
0
111
Member Avatar for rackus

Hi there, I have got this problem which is rather puzzling, to me at least. My team-mate and I each did our coding and they work as standalone. His part is the UI and mine the backend processing. He did his code using BlueJ using JDK 1.3, I did mine …

Member Avatar for rackus
0
512
Member Avatar for moonduke

Please Help my code for this program is listed below what the program is supposed to do is also listed below. I can't get it to work. [B]The problem[/B] Write a program to compress a message consisting of the ten symbols A, B, C, D, E, F, G, H, I, …

Member Avatar for Phaelax
0
223
Member Avatar for bob901

soz bout all this posting :S i know this is a really n00b question but how do i add a black background to this prog? import java.awt.*; import java.awt.event.*; import javax.swing.*; public class CMP extends JFrame { public void myframe() { JFrame frm = new JFrame(); frm.setBounds(0,0,800,400); frm.setVisible(true); frm.addWindowListener(new WindowAdapter() …

Member Avatar for bob901
0
196
Member Avatar for server_crash

I've been working on this project and I've had to look at a bunch of code, and go through many tutorials. One thing I've consistently noticed is that the programmer checks to make sure the current thread (Thread.currentThread()) is equal to the one they created in the class constructor. Now, …

0
59
Member Avatar for markymarkb1000

Hi...I have created a private static main method which instantiates an array of 3 different types of objects depending on the choices entered in on the command line. Here is my code: public static void main(String[] args) { //creates local variable currentIndex //creates employee array of type worker which can …

Member Avatar for server_crash
0
144
Member Avatar for Ghost

Hi, I'm trying the Space Invaders tutorial ([url]http://www.planetalia.com/cursos/index.jsp[/url]). I'm on part 13, which divides the code into classes. I'm using JBuilder and when I do this, I get error messages saying that the class I put in a new Java file doesn't exist. I put the java file in the …

Member Avatar for jwenting
0
139
Member Avatar for morgryan

Hi there I need to create a command line interface in java. I have something that connects to an oracle database and allows me to do a predetermined select steps. I need some sort of java code that will allow me to have a prompt: Which you like to do? …

Member Avatar for Paul.Esson
0
145
Member Avatar for Ghost

Hi, I was wondering if there was a way to find open ports on a server. I'm trying to write a program that tells the user whether they have any open ports or not and if they do, which ones and how to fix them. Thanks.

Member Avatar for jwenting
0
178
Member Avatar for bob901

Hey all :) does anyone know of any good tutorials for java?? Ive already done the Invaders one and "Intro to computer science with java". please post with some good ones :) heres the Invaders one.. [URL=http://www.planetalia.com/cursos/index.jsp]here :)[/URL]

Member Avatar for bob901
0
144
Member Avatar for bob901

hey all.. does anyone know how to make a decryter if so can you please tell me step by step :) thx

Member Avatar for bob901
0
192
Member Avatar for Bud4java

How do I initialize an array that has been called from a file? There will be 5 values in the array. So should my file "input.dat" have: 5 (number of values) 4 (value) 6 (value) 7 (value) 2 (value) 7 (value) Example: BufferedReader br = new BufferedReader( new FileReader("input.dat")); and …

Member Avatar for paradox814
0
111
Member Avatar for bob901

hey all when i run this code : import java.awt.Canvas; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.event.WindowEvent; import java.awt.event.WindowAdapter; import java.awt.image.BufferedImage; import java.net.URL; import javax.swing.JFrame; import javax.swing.JPanel; import javax.imageio.ImageIO; public class SpaceInvaders { public static final int WIDTH = 800; public static final int HEIGHT = 600; public SpaceInvaders() …

Member Avatar for server_crash
0
106

The End.