| 1. | View Comment
How we print this structure in C++, with nested loop:
*****
****
***
**
*
View Tutorial By: Hussnain at 2012-01-27 09:19:41 |
| 2. | View Comment
Hi
I tried to use this class , I don't get any errors neither any out put
plz help me to figure this out
MY OS - Windos 7 32 bit
comm api I used ---- Java(tm) Communications API Version 2.0
appreciate it :)
View Tutorial By: Asela at 2012-01-26 19:05:14 |
| 3. | View Comment
Hi
I have done all the steps mentioned above but I still get this exception
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at SerialConnection.openConnection(SerialConnection.java:70)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at SerialConnection.openConnection(SerialConnection.java:87)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Thread.java:662)
BUILD SUCCESSFUL (total time: 0 seconds)
I'm trying to use this on a Windows 7 OS
and my
javax.comm.properties file looks like this
#
# Drivers loaded by the Java Communications API standard extension
# at initialization time
#
# Format:
# Each line must contain ONE driver definition only
# Each line must be of the form:
# driver=
# No spaces or tabs in the line.
# ClassName must implement the interface javax.comm.CommDriver
# example: driver=Win32Serial
#
#
# The hash(#) character indicates comment till end of line.
#
# Windows Serial Driver
Driver=com.sun.comm.Win32Driver
Im not sure whether I have to add any addition to this
plz help to over come this :)
View Tutorial By: Asela at 2012-01-26 18:53:51 |
| 4. | View Comment
Hi
I tried to use this on a windows 7 32 bit OS but I get this exception
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at SerialConnection.openConnection(SerialConnection.java:70)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at SerialConnection.openConnection(SerialConnection.java:87)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Thread.java:662)
I have copied comm.jar , win32com.dll and javax.comm.properties files to appropriate folders
my javax.comm.properties
looks like this
#
# Drivers loaded by the Java Communications API standard extension
# at initialization time
#
# Format:
# Each line must contain ONE driver definition only
# Each line must be of the form:
# driver=
# No spaces or tabs in the line.
# ClassName must implement the interface javax.comm.CommDriver
# example: driver=Win32Serial
#
#
# The hash(#) character indicates comment till end of line.
#
# Windows Serial Driver
Driver=com.sun.comm.Win32Driver
which is the only part I'm not sure whether correct or not
anybody out there could help to fix this ?
:)
View Tutorial By: Asela at 2012-01-26 18:35:57 |
| 5. | View Comment
Really The Best Start for mE
View Tutorial By: neeraj at 2012-01-26 13:27:31 |
| 6. | View Comment
The one more best way is
public class Palindrome {
static public String pal(String str, int i, int j){
if(str.length()/2 != i)
if(str.charAt(i)==str.charAt(j))
pal(str,++i,--j);
else
return "String is Not palaindrome";
return "String is palaindrome";
}
public static void main(String[] args) {
String str = args[0];
System.out.println(pal(str,0,str.length()-1));
}
}
View Tutorial By: Palla Subramanyam at 2012-01-25 20:18:03 |
| 7. | View Comment
I am wanting to use a Honeywell 4600g handheld scanner/imager. I need it to scan a barcode, and then input the data into a .pdf document. I am not familiar with code, java, etc. Can someone design something for me to open a COM port, read the data that is scanned, and then input to a blank document?
Please reply with info. Thank you.
View Tutorial By: bugdrvr1970 at 2012-01-25 17:27:43 |