32,204 Topics

Member Avatar for
Member Avatar for freesoft_2000

Hi everyone, I need to ask a rather silly question on escaping quotes so please bear with me for a while. As i am using java this is what i usually do to escape quotes [code] "/"Test"/" [/code] It usually works but my question is that is this a platform …

Member Avatar for Cudmore
0
79
Member Avatar for bimalz

I have around 10-15 computers on the lan and i need to find out the ip address of all the machines. Can anyone give me the java commands or the program to find all the IP address?? :eek:

Member Avatar for peter_budo
-1
70
Member Avatar for freesoft_2000

Hi everyone, I am trying to insert some unicode into a JTextPane document but i have a concern as to whether the unicode will be recognized on other platform besides windows. This is what i did [code] StyledDocument.insertString(TextPane.getCaretPosition(),"\u25CF" + " ", null); [/code] Will my above code be recognised on …

Member Avatar for aniseed
0
93
Member Avatar for Cudmore

Hi! Here's my scenario: I have an application that utilized the DatagramSocket class. I also have a favorite Port number that I would like it to connect to Every time I load the application. One problem with my application is that it's highly threaded, and under basic circumstances, it doesn't …

0
76
Member Avatar for mraurora

Hi all. New to this arena and hoping to find some help. I have internet explorer 6 and norton 6. I'm using microsoft xp. For some reason when I visit websites, the say I have to enable javascript. I went online and read some directions on how to do that. …

0
19
Member Avatar for crestaldin

[COLOR="Navy"]Hi everyone, I just finished my summer internship last week and part of what my boss told me at the end of the program was to impove my Java skills. From experience I know the best way to master any programming skill(or the likes) is via practice so I am …

Member Avatar for cyfm
0
155
Member Avatar for carver

I am having some trouble reading a Mac Problem Report. I was hoping someone out there with a little more Mac experience could help out. Our Java program seems to be crashing on a thread that is calling JVM_GetLastErrorString, which doesn't make a lot of sense to me. Our Java …

Member Avatar for carver
0
176
Member Avatar for firoz alam

Dear Frnds i need the full information regarding Predictive and Auto dialer . with code in java and tutorial also thanx

Member Avatar for masijade
0
63
Member Avatar for vick

Hi how's everyone doing, please help me with this program, i am doing this from last 4 to 5 hours, it's over my head, please help. here's the what program suppose to do: Given an input data file containing dates, one date per line, write a Java application Project.java which …

Member Avatar for masijade
0
182
Member Avatar for java_roshan

Hello All, I am Roshan, from Mumbai, Maharashtra State, India. I joined this forum, recently. My username need not necessarily indicate that I love java. I would like to program in any programming language, if it serves the purpose best. Hoping to have a good time here.

Member Avatar for java_roshan
0
33
Member Avatar for fdrage

say i have a Map, a HashMap, and its key is a bunch of Integer and the values is a List of strings. i.e. [CODE] {1=["A", "B", "C", "D"], 2=["A", "B", "E", "D"], 3=["D", "F", "G"]} [/CODE] then i have a Set that stores a list and it looks like …

Member Avatar for iamthwee
0
113
Member Avatar for iwlu

I seem to not understand the following, Using appropriate format specifiers and horizontal tabs, DISPLAY one line for each product, its quantity sold, its unit price and its total sales ASSIGN the sum of product1Sales through product5Sales TO totalSalesAllProducts Using appropriate format specifiers and horizontal tabs, DISPLAY the “Total Sales” …

Member Avatar for iwlu
0
141
Member Avatar for fdrage

Hi guys, I have a HashMap, and it stored a bunch of Strings... the key is a String and the value is a Set of String... and it looks something like this [QUOTE]{ D=[E,C], C=[B], E=[B], B=[A] } [/QUOTE] what is the best way to iterate through this map so …

Member Avatar for fdrage
0
109
Member Avatar for h1dden

Hi, I have an assignment in school, please help me. here is the problem. Write a program that will read in a weight in ounces and pounds and will ouput the equivalent weight in kilograms and grams. I have already design the form using netbeans, but i don't know how …

Member Avatar for masijade
0
116
Member Avatar for sub-zero

hi every one " A point in the x-y plane is represented by its x-coordinate and y-coordinate.Design the class Point that can store and process a point in the x-y plane.You should then perform operation on a point, such as [B][U][COLOR="Red"]shoing the point[/COLOR][/U][/B], setting the coordinates of the point printing …

Member Avatar for stablamate
0
554
Member Avatar for Phaelax

How can I use this in Java? I don't need to run a server, just call some functions from an existing one. I haven't found much "useful" documentation on this.

Member Avatar for Phaelax
0
89
Member Avatar for sciocosmist

I am having some trouble trying to get a JApplet to display in a Browser [IMG]http://javafaq.nu/images/smiles/icon_sad.gif[/IMG] . The applet does compile and does come up (displays) in a Microsoft Windows window frame, but does not display in a browser. I have several components that I place in JPanels and successfully …

Member Avatar for ede
0
311
Member Avatar for jakeneff

Hi, I'm pretty new to Java so be gentle, please. I'm trying to set up a columnar structure to output to the console with tabs in between each column. However, I want some of the tabs to be right aligned, not left. As you can see below, I'm using a …

Member Avatar for jakeneff
0
1K
Member Avatar for beantowner2

I am using Yahoo Sitebuilder to build web sites. Sitebuilder uses Java. About 6 weeks ago, Sitebuilder started freezing up when I tried to use it. What happens is that CPU usage goes almost immediately to 100% and stays there. Java usage is 99% of that. Does anyone know anything …

Member Avatar for beantowner2
0
66
Member Avatar for fastmike

Hi all. i am new in this forum. i just recently bought a book Java how to program and was on chapter 2 just the basic programming until i came up with an assignment to encode a character into hamming code, which means if the user inputs H the out …

0
71
Member Avatar for rpjanaka

hi all im janaka priyadarsahana, i got this code segment from the sun java tutorial. but cant understand how this for loop works. out.print("File system roots: "); for (File root : File.listRoots()) { out.format("%s ", root); } out.println(); please if anyone can help me...... thank you......

Member Avatar for fdrage
0
120
Member Avatar for rpjanaka

hi all, i have a java code, here "rs" is a result set. [COLOR=DarkRed] ByteArrayInputStream byteStream = new ByteArrayInputStream(rs.getBytes(objName)); ObjectInputStream objStream = new ObjectInputStream(byteStream); obj = objStream.readObject(); return obj; [COLOR=Black]i cant understand why it is used both "[/COLOR][/COLOR][COLOR=DarkRed]ByteArrayInputStream[/COLOR][COLOR=DarkRed][COLOR=Black]" and "[/COLOR][/COLOR][COLOR=DarkRed]ObjectInputStream[/COLOR][COLOR=DarkRed][COLOR=Black]"...? can't i do this with one inputStream....? please help me............! …

Member Avatar for rpjanaka
0
101
Member Avatar for LindaF

I don't know how I can execute an event of Javascript into a link in a program in Perl. This event of JavaScript have executed a function that return a HTML page. Anybody know how I can it? Is it possible do it this?: $datos=$datos."<a href='" . $me . "?C=OFERTAS2&EMPRESA=".$empresa_param."&NREF=".$nref."' …

Member Avatar for vonfeldt
0
99
Member Avatar for fdrage

I have the following class as a example to a similar problem im having ... [B]Class Car[/B] code: [CODE] public class Car { private String name; public Car(String name) { this.name = name; } public String getName() { return name; } } [/CODE] [B]Class CreateCarFromList[/B] code: [CODE] public class CreateCarFromList …

Member Avatar for fdrage
0
79
Member Avatar for q8z

how can I know how many time the system.gc will take? how many time it take in the most of the times?

Member Avatar for alpha_foobar
0
77
Member Avatar for sarath.koiloth

[B][I]Hi[/I][/B] [B][I]is it possible to import static methods and varibles.if possible whats happening internally....Please advice...[/I][/B]

Member Avatar for DavidRyan
0
58
Member Avatar for pentasoft4u

Hi, When i start my tomcat , not able to create the context file.. and It didn't started session in tomcat.. I am getting the following error , pls anyone can resolve this.. In the console i got the below error. [COLOR=#0000ff]Sep 26, 2006 12:30:43 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Skipped …

Member Avatar for iamthwee
0
211
Member Avatar for kevindalvi

Does anyone have any information about integrating Fidelity's TouchPoint and a .NET App Integration?

0
12
Member Avatar for mesamb1

I am brand new to the world of java and was working on a tutorial from the java website. I was feeling all cool writing my code and getting it and then when i tried to compile a bycycle program i got a error message reading: [/Users/Sam/Bicycle/build.xml:29: Compile failed; see …

Member Avatar for mesamb1
0
152
Member Avatar for CarlaS

Hello! My name is Carla and I work for an engineering, consulting, and professional services firm. We offer contract, SOW, and perm all over the United States. My focus is within the telecom and cable industry. If you would like to learn more about what I have to offer, please …

0
53

The End.