Forum: Java Jan 6th, 2009 |
| Replies: 2 Views: 983 BufferedReader br1 = new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter the binary value:");
String s = br1.readLine();
System.out.println("Decimal value is :... |
Forum: Java Dec 17th, 2008 |
| Replies: 1 Views: 493 You mean after successfully establishing a gprs connection, right ?
Are you using Nokia *** or ?
Try the following codes:
1.
ServerSocketConnection scn =... |
Forum: Java Dec 17th, 2008 |
| Replies: 6 Views: 570 1. An abstract method is a method that is declared without an implementation,also the abstract method is very useful for design pattern like factory and any class contains this method is abstract... |
Forum: Java Dec 17th, 2008 |
| Replies: 7 Views: 1,444 Do you know what is total bytes of this message ?
Also you can read document about "DataInputStream" from java.io.* of jdk 1.4 or higher version will lead you to understand
what you need to do.
... |
Forum: Java Dec 17th, 2008 |
| Replies: 7 Views: 1,444 |
Forum: Java Dec 16th, 2008 |
| Replies: 7 Views: 673 Can you post your codes ? How about WSDL ? |
Forum: Java Dec 16th, 2008 |
| Replies: 7 Views: 1,444 This will keep you very busy for a while........... :-) :)
1. Big endian machine: Stores data big-end first. When looking at multiple bytes, the first byte (lowest address) is the biggest.
... |
Forum: Java Dec 16th, 2008 |
| Replies: 13 Views: 1,205 A proxy server is a server that services the requests of its clients by forwarding requests to other servers and acts as a gateway.
Ask your networking admin. about ip address of your proxy... |
Forum: Java Dec 15th, 2008 |
| Replies: 2 Views: 5,642 Do you have one table for "account"/"deposit"/"withdraw" "balance"/"last_update" ? Every time when any account has any transaction you will save it into table, so next time you log in you will check... |
Forum: Java Dec 15th, 2008 |
| Replies: 1 Views: 336 Can you set a breaking point on "Shape bounds= " to find location.x & location.y between "green" ?
Albert |
Forum: Java Dec 15th, 2008 |
| Replies: 2 Views: 1,551 You need to code multi-thread in your UDP server side. I believe you google this you will find some good URLs.
In your UDP server:
You need:
while(true)
{
... |
Forum: Java Dec 15th, 2008 |
| Replies: 13 Views: 1,205 public void URLReader(){
try{
URL logic = new URL("http://your host name & port number/folder/");
BufferedReader in = new BufferedReader(new... |
Forum: Java Dec 15th, 2008 |
| Replies: 3 Views: 450 There are a few URLs: These will help your project.
http://math.hws.edu/javanotes/c6/ex4-ans.html... |
Forum: Java Nov 25th, 2008 |
| Replies: 3 Views: 1,172 You can implement a common tree interface based on your current BTree class then you can have two options, First, you code PTree from common tree or Second you can inherit BTree to code your PTree if... |
Forum: Java Nov 20th, 2008 |
| Replies: 2 Views: 1,079 You need a parser program /a dictionary database and you need a program to run all these
to generate a report (output file) with "number"/"words". Right ?
Albert |
Forum: Java Nov 20th, 2008 |
| Replies: 1 Views: 313 1. To contact your " fingerprint sacnner" company asking about any software interface or they may have provide APIs in C++ or java.
2. Also asking your provider about their scanner can support... |
Forum: Java Nov 20th, 2008 |
| Replies: 1 Views: 314 A single ActionForm to use for all the methods in one DispatchAction and Use single ActionForm for similar forms. Also DispatchAction collect related functions into a single Action.
This URL... |
Forum: Java Nov 20th, 2008 |
| Replies: 1 Views: 1,276 This is an URL ( see below) may help you.
http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=1393578&SiteID=1
Albert |
Forum: Java Nov 20th, 2008 |
| Replies: 1 Views: 1,054 Using ByteArrayInputStream to read a bindary file and then use InputStreamReader & BufferedReader. Also careful about "position". These will work. |
Forum: Java Nov 20th, 2008 |
| Replies: 4 Views: 897 You need a update statement to update your table in oracle. See below for "Update" syntax:
UPDATE table
SET column = expression
WHERE predicates;
Also you google to find "update", you will find... |
Forum: Java Nov 20th, 2008 |
| Replies: 5 Views: 695 I have no issue running this method on my PC, but i have an issue running this on Unix/Weblogic server. I got error message. See below:
" No line matching interface SourceDataLine supporting format... |
Forum: Java Nov 19th, 2008 |
| Replies: 5 Views: 695 The following method "sound" works on my PC and it sounds a beep. I am using java 1.5
and Jdeveopler 10.1.3.4 on Windows XP/SP2.
import javax.sound.sampled.*;
public void... |
Forum: Java Nov 19th, 2008 |
| Replies: 3 Views: 462 I am not sure there is an API, but see below or there are some flow diagram apps out there.
http://www.borland.com/together/ |
Forum: Java Nov 19th, 2008 |
| Replies: 0 Views: 876 This is my function. see below:
public void SoundTest() {
try {
AudioInputStream audioInputStream;
File file = new File("C:\\Temp\\online.wav");
... |
Forum: Java Nov 19th, 2008 |
| Replies: 7 Views: 33,190 George,
I got the same error as you had iy before. How did you solve this issue ? Can share your solution with us ?
Thanks,
Albert |