Forum: Java Nov 24th, 2007 |
| Replies: 0 Views: 2,385 Hai Frindz,
Iam using jdk1.5 in linux OS,I want to list the serial ports in my system, I used port name /dev/ttyS0 (for com1) in my program,but it gives CommPortIdentifier not Found Error.... |
Forum: Java Nov 24th, 2007 |
| Replies: 2 Views: 962 |
Forum: Java Nov 22nd, 2007 |
| Replies: 2 Views: 962 Hi Guys..,
Where can i find this particular package javax.media.*;
and is there any specific link there to download the javax packages...?
If so kindly help me out...
Thanks in advance.. |
Forum: Java Sep 27th, 2007 |
| Replies: 1 Views: 488 What is mean by precasting in java can any one give me simple example please... |
Forum: Java Sep 21st, 2007 |
| Replies: 2 Views: 851 |
Forum: Java Sep 20th, 2007 |
| Replies: 2 Views: 851 hi everyone
i have a very a very basic question in mind .. i wanted to discuss ..
Difference Between these?
String s1= new String("java") ;
String s2="java" ;
and also |
Forum: Java Aug 22nd, 2007 |
| Replies: 12 Views: 6,853 execJAVA currently am using this exe converter from jar file.
but its trial version only.
you can download this from www.JavaAPIs.com (http://www.JavaAPIs.com)
anyway you have to convert... |
Forum: Java Aug 22nd, 2007 |
| Replies: 12 Views: 6,853 If you want to create Exe means you have to go for third party tool. |
Forum: Java Aug 22nd, 2007 |
| Replies: 12 Views: 6,853 you can create jar for your project
you have to make manifest file
Manifest-Version: 1.0
Specification-Title: Java Utility Classes
Created-By: 1.5.0 (Sun Microsystems Inc.)
Main-Class:... |
Forum: Java Aug 21st, 2007 |
| Replies: 10 Views: 4,771 if you have better way more than this means please show your solutions also. it will be really useful
(for adding zero)
class doubconv
{
public static void main(String args[])
{
String... |
Forum: Java Aug 21st, 2007 |
| Replies: 6 Views: 1,202 java.sun.com will provide you good tutorials.
so just go through that tutorials
All the very best. |
Forum: Java Aug 20th, 2007 |
| Replies: 10 Views: 4,771 Have this as example.......
class doubconv
{
public static void main(String args[])
{
String code="00000000001";
double dbl=Double.parseDouble(code);
double dbl1=dbl+1;
String... |
Forum: Java Aug 20th, 2007 |
| Replies: 6 Views: 1,516 first better way... is try to run programs in command prompt thats is the best way to start a learning step for java
install jdk 1.5 or latest 1.6
then set your class path
compile it
... |
Forum: Java Aug 16th, 2007 |
| Replies: 10 Views: 4,355 I dont think you can use hyperlink in windows application
its only for web application |
Forum: Java Aug 8th, 2007 |
| Replies: 5 Views: 981 Just download J2ME wireless toolkit 2.5 for developing mobile application.... it is very nice IDE provided by Sun.
you will be having demo projects inside the toolkit.. just go through all those... |
Forum: Java Jul 31st, 2007 |
| Replies: 2 Views: 2,080 and simply if you type java -help means you will get list of items for help
in that itself it contains the java -version
from that you can get to know about the version that you are using. |
Forum: Java Jul 20th, 2007 |
| Replies: 2 Views: 589 please make your query clear.. so that we can help you in right way....
or else provide your code.... we will help you to solve the problem |
Forum: Java Jul 19th, 2007 |
| Replies: 10 Views: 3,823 you have to convert your application in to executable jar file..
for that you have to follow some procedure
you have to create manifest file
in that manifest file you have to mention... |
Forum: Java Jul 16th, 2007 |
| Replies: 15 Views: 3,892 yea thanks i will try that first.. |
Forum: Java Jul 16th, 2007 |
| Replies: 15 Views: 3,892 i dont have any idea about server socket thats why looking for alternate solution.... |
Forum: Java Jul 14th, 2007 |
| Replies: 15 Views: 3,892 here is my code...
try {
// Get a file channel for the file
File file = new File("filename");
FileChannel channel = new RandomAccessFile(file, "rw").getChannel();... |
Forum: Java Jul 14th, 2007 |
| Replies: 15 Views: 3,892 yea i have used all these... but if i rename the jar file means its worthless... its again opening multiple instances |
Forum: Java Jul 13th, 2007 |
| Replies: 15 Views: 3,892 Thanks alot Ezzaral (http://www.daniweb.com/forums/member166824.html)
this file lock concept working fine.
thanks alot...you made my work ease by your idea. |
Forum: Java Jul 12th, 2007 |
| Replies: 15 Views: 3,892 Hi guys...
Is it possible to stop opening multiple instance of a jar file...
I just want to open my application only one (only one instance) at a time. |
Forum: Java Jul 11th, 2007 |
| Replies: 9 Views: 4,887 just check out the manifest file
In that manifest file specify your main class correctly. then it will work fine |
Forum: Java Jul 11th, 2007 |
| Replies: 4 Views: 2,433 I know that, But my question is what is the class for view and what is the class for model and what is the class for controller in MVC pattern. I have referred somw materials but i couldnt get the... |
Forum: Java Jul 10th, 2007 |
| Replies: 4 Views: 2,433 Hey guys.,
I just want to know about the MVC pattern in java swing.
up to my knowledge i knew ...... Model is used for storing information like Scrollpane height=50 width=60 like that
and... |
Forum: Java Jun 28th, 2007 |
| Replies: 8 Views: 1,223 webserver doesnt support business logic
whereas application server support business logic
and
Everything in web server must be achieved programmatically
where as in application... |
Forum: Java Jun 26th, 2007 |
| Replies: 9 Views: 2,862 this.setUndecorated(true);
boolean undecorated = this.isUndecorated();
this.setLocationRelativeTo(null);
with this code in java swing you can hide the frame |
Forum: Java Jun 26th, 2007 |
| Replies: 4 Views: 1,708 You can use decomiler to get java source code from the classes available in jar file...
there will be a exe called JAD with that you can decompile the classes in to source codes |
Forum: Java Jun 13th, 2007 |
| Replies: 68 Views: 19,249 you are exactly correct Josh |
Forum: Java Jun 13th, 2007 |
| Replies: 6 Views: 1,328 what is mean by Game of Life?
what do you mean exactly?? |
Forum: Java Jun 13th, 2007 |
| Replies: 3 Views: 1,544 just create imageicon like this
Icon icon = new ImageIcon("fish20.gif");
and add it...in you button
JButton bstop = new JButton("STOP",icon); |
Forum: Java Jun 13th, 2007 |
| Replies: 68 Views: 19,249 How can you say this??? that my post is at fault of being cryptic
can you explain??
with the telephone number cant you find out the address??? |
Forum: Java Jun 12th, 2007 |
| Replies: 68 Views: 19,249 did you tell your telephone number??
may be with the tele phone number you can trace the person's address easily... |
Forum: Java Jun 12th, 2007 |
| Replies: 7 Views: 7,950 just use this single line
Date thedate=new Date();
and print it....
System.out.println(thedate); |
Forum: Java Jun 5th, 2007 |
| Replies: 11 Views: 8,160 i think you have to update your current jar file..
You have to use the following code
jar uf currentfilename.jar updatefilename.jar
just use this command then both jar files can be made... |
Forum: Java May 31st, 2007 |
| Replies: 4 Views: 1,103 better search in google... |
Forum: Java May 18th, 2007 |
| Replies: 2 Views: 3,782 Hi Peter..,
Thanks man... and I was little busy with some other gaming threads in this forum.
any way i came back here again to gain more technical knowledge from you people. |
Forum: Java May 18th, 2007 |
| Replies: 2 Views: 3,782 Hi guys..,
Is any one knows how to print barcode using java code? |