32,204 Topics
| |
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 … | |
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: | |
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 … | |
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 … | |
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. … | |
[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 … | |
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 … | |
Dear Frnds i need the full information regarding Predictive and Auto dialer . with code in java and tutorial also thanx | |
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 … | |
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. | |
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 … | |
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” … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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...... | |
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............! … | |
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."' … | |
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 … | |
how can I know how many time the system.gc will take? how many time it take in the most of the times? | |
[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] | |
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 … | |
Does anyone have any information about integrating Fidelity's TouchPoint and a .NET App Integration? | |
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 … | |
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 … |
The End.