473,548 Members | 2,683 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Forum

Java programming language (Sun Microsystems) - Ask questions about java programming, OOP, JRE, SDK, Swing, Plugins, Java Virtual Machine(JVM), Java Libraries: Collection, XML Processing, Security, JDBC, JNDI, RMI, CORBA, AWT (GUI) and more.
0
1,486
thread by: Viswanath | last post Jul 17 '05 by: Viswanath
Hai guys, My system connected to Internet.I want to get all port details using java - networking, means which ports are used presently? Also, I want to get the download capacity(bandwidth). How much used by a client. All these are only using "java networking". Please help me.(viswanathapillai@rediffmail.com) Regards, Viswanath
2
1,979
thread by: Aljo_ | last post Jul 17 '05 by: Aljo_
Hello! I got a free evaluation copy of Borland's JBuilder9. I also got a book about JAVA, and I am trying to type, compile and run some examples from the book. The following - very simple - source comes from my book, and I get the errormessage that the applet isn't initialised.
1
3,195
thread by: Steven Mason | last post Jul 17 '05 by: Me
Here's my problem. I've certain jar files I've included in my classpath that I need to work with. I've included these in my path variable so when I type path at the command line I get : PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program...
2
4,472
thread by: ochulus | last post Jul 17 '05 by: Nicholas Geraldi
hello! I'm fairly new to java and we're still doing text-based java stuff at school. I just need a bit of help for a project. I know how to read input from the keyboard (e.g. entering a person's name). However, how do I implement something like "Press ENTER to continue" or "Hit any key to continue"? I've been looking at the Java API...
4
3,210
thread by: Gavin Andrews | last post Jul 17 '05 by: Gavin Andrews
I use log4j for logging and tend to include the following snipet in all my classes... public class MyClass { // Logging Declarations private static String _className; private static Category _cat; static {
3
5,634
thread by: Oswald | last post Jul 17 '05 by: Oswald
Hey, how can I set the number of decimals? Example: 5 decimals 2.12345 2 decimals 2.12 I've found something about NumberFormat in the API, but without an example I can't solve this...
0
1,403
thread by: Stu | last post Jul 17 '05 by: Stu
Hi, I have an applet within a war that needs to use three jar files. This works fine when the jar files are packaged within the same directory as the applet but when I put them into the webapps\web-inf\lib directory of tomcat they are not found. Does anybody know where these jar files should go within Tomcat4.1 and how are referenced...
2
2,010
thread by: Apple | last post Jul 17 '05 by: Stian
Hi guys, I am working on my java cryptography assignment. I am looking for the popular or the best cryptography softwares either wrote in java or not to encrypt/decrypt files using DES/RSA algorithm. Can anyone recommend pls? Regards, Apple
0
1,686
thread by: Oracle3001 | last post Jul 17 '05 by: Oracle3001
Hi All, I am looking to use SVD to solve an equation of the form Aa = B, where a is 1 row x 11 col A is 2 rows x 11 col B is 2 rows x 1 col I know from the information I am reading I need more than six sets of A and B.
0
3,379
thread by: Todd Christy | last post Jul 17 '05 by: Todd Christy
I am building a J2ME application for a BlackBerry handheld device. This application connects to an IIS server via HTTP to execute remote ASPX-based services that collect and return data. We are working on our authentication scheme, and trying to figure out the best approach that will: * Pass the ID and password via HTTP from the J2ME app to...
2
1,812
thread by: peter chan | last post Jul 17 '05 by: Phillip Taylor
Java classs is easily decomplied by decomplier , Why ? Does any body hear about that encryted class can protect the Java source code? Is any product use this method?
0
1,370
thread by: Lafoopsie | last post Jul 17 '05 by: Lafoopsie
Hi! I want to launch the Java appletviewer, but I want it to appear on some position on the screen (e.g. (200, 300)), and also without any borders, so that just the applet is shown. Is there a way to "say" this to the appletviewer by options or a configuration file or something like that?
8
2,544
thread by: Paul | last post Jul 17 '05 by: Glen Herrmannsfeldt
This method: static void swap(int a, int b) { int c = a; a = b; b = c; } does not swap the values of a and b over. It doesn't work for String variables either. However the following method does swap the first two
3
25,181
thread by: John Bowling | last post Jul 17 '05 by: Glen Herrmannsfeldt
I'm trying to get the day of month with: int dayofmonth; dayofmonth = Calendar.get(Calendar.DAY_OF_MONTH); and I get the compile time error of saying get(int) is a not-static method. Is there a process (or a different class/method to call) that will work? Thanks, John
0
1,925
thread by: diosoxido | last post Jul 17 '05 by: diosoxido
i want to create a java application to control the motion of a webcam over a LAN and capture the video to my pc, does anyone have any idea or examples of this?? thanks in advance..
0
2,360
thread by: peter chan | last post Jul 17 '05 by: peter chan
java code protection- encrypted class For encrypted class , if intercept point is added in the classloader.defineClass() , all the class can be dumped, a product -Jencoder can prevent it . Do anyone know its operation.
0
3,770
thread by: S Mulgund | last post Jul 17 '05 by: S Mulgund
I have some legacy data that I want to convert to XML. I've designed a schema to represent the data in XML form, and I'm trying to figure out how best to perform the raw->XML conversion. The Java web services tutorial shows how to use Transformers and SAXSource objects to perform the conversion in a memory-efficient way, but it requires...
2
1,778
thread by: michela rossi | last post Jul 17 '05 by: Hegemony Cricket
Hi, Don't know if anyone can help me. I've got the following questions: 1. Does anyone know of anywhere that offers shared webspace which has support for Java/JSP? Ideally running Tomcat? 2. Is there any driver/support in JSP for writing to a text file? E.g. a website that receives many thousand submissions/day via a feedback form -...
0
1,265
thread by: Lafoopsie | last post Jul 17 '05 by: Lafoopsie
Hi! I found many documentation on the Java plug-in, but none about integrating it in my C++ application. Any suggestions? Greetz, Klaas
0
3,191
thread by: Benjamin Schmid | last post Jul 17 '05 by: Benjamin Schmid
Hello, I know thats probably the wrong place - anyway: Is there anyone running jusb on Linux? I tried to install, but when I type sh bin/install, I get "can't find libjusb.so" Which step of file creates this file? Has anyone experiences? Would be glad for any hint.
1
1,884
thread by: Maxi | last post Jul 17 '05 by: Millian Brave
I have this SQL statement and I need to change the WHERE clause in the SQL statement to its java equivatlent. Something like this: @command1, @username2 ,@receiver is input parameter WHERE ( =2 AND (command LIKE @command1 AND Username2 LIKE @Username2)
0
2,549
thread by: newsfan | last post Jul 17 '05 by: newsfan
Hi there, I have made an application that uses a POS printer device to print out a receipt, but there are genereal problems printing out ..... sometimes it prints out sometimes it doesn't (??) this is not the most major of the problems. The most major problem has to do with setting the style and the layout of the printing. After I have...
10
11,933
thread by: Nicholas Geraldi | last post Jul 17 '05 by: Oskar Sigvardsson
Im looking for a decent random number generator. Im looking to make a large number of random numbers (100 or so, if not more) in a short period of time (as fast as possible). the function i was using to get random numbers was Random rn = new Random(System.currentTimeMillis()); but it seems that the system doesn't update the milliseconds...
4
4,552
thread by: Hoagie | last post Jul 17 '05 by: Hoagie
The pain! I've looked over this a hundred times and I don't understand it! I'm new to Java3D, so hopefully someone can help me in this quick (most likely trivial error). I am drawing a QuadArray plane w/ the "stripes.gif" texture (from the tutorial) applied to it. I've drawn the plane to be 2 inches (-1,-1 to 1,1) and 1 inch (0,0 to...
5
2,954
thread by: leza | last post Jul 17 '05 by: Glen Herrmannsfeldt
question about "long" data type since the size of long is 64 bit that mean it is = 2^10 * 2^10*2^10 * 2^10*2^10 * 2^10 * 2^2 (2^10 = 2 to power 10) and that number is = 4 000 000 000 000 000 000; Now when I do that in java { long x; x=4000000000000000000;

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.