Forum: C++ Jan 16th, 2006 |
| Replies: 0 Views: 1,629 Hi All,
I am an member of our java forum, but am a novice as far as c++ concerned.
I need to program small application for symbian os. Programs like reading an addressbook on a device. Can you... |
Forum: Java Jan 9th, 2006 |
| Replies: 1 Views: 1,740 Hi All,
I am trying to develop an application which access the Phone Card on the device. There is an Api for that called Java Phone Api. I got a sample program as well which uses Java Phone API,... |
Forum: Java Nov 9th, 2005 |
| Replies: 2 Views: 1,545 hi Erik,
I think what you are doing is right by creating a subclass.
Did you try with jSplitPaneInstance.setDividerSize(0) ?
Regards
Srinivas |
Forum: Java Oct 25th, 2005 |
| Replies: 4 Views: 3,564 hi
You can probably have a look at the JMF API, I believe the JMF api is split in to three sections :
1. Audio Video Play back,
2. Audio video Recording
3. Chatting with Audio and Video.
You... |
Forum: Java Oct 21st, 2005 |
| Replies: 1 Views: 1,506 hi
if you can attach all the related files i can compile and see what happens.
Regards
Srinivas |
Forum: Java Oct 19th, 2005 |
| Replies: 10 Views: 3,988 hi
sorry to use a wrong word UI Mode, I meant Look And Feel. Try setting Motif or Windows Look And Feel.
Cheers
Srinivas |
Forum: Java Oct 18th, 2005 |
| Replies: 10 Views: 3,988 hi
did you try running in other UI modes such as motif or windows?
Regards
Srinivas |
Forum: Java Sep 30th, 2005 |
| Replies: 4 Views: 4,992 hi,
you can try using JMF, I had used it for audio/ video play back but it has necessary API for voice as well as video chat(I think so)
You can try downloading JMF from sun's site.
Hope it help... |
Forum: Java Sep 23rd, 2005 |
| Replies: 4 Views: 19,494 hi,
i believe you can try this program...
import java.math.*;
class TestBigDecimal
{
public static void main(String args[])
{
BigDecimal bd=new BigDecimal(args[0]); |
Forum: Motherboards, CPUs and RAM Aug 18th, 2005 |
| Replies: 1 Views: 1,320 hi all
I am planning to buy a pc. I am thinking whether to go for AMD 64 with linux. I will be using java 1.5, jboss and related softwares. I want to know whether AMD 64 will support this. I may... |
Forum: Java Aug 10th, 2005 |
| Replies: 6 Views: 1,647 hi jwenting,
When i tried compiling the program, I got a compiler error.
TestClass.java:13: incompatible types
found : int
required: java.lang.Object
... |
Forum: Java Aug 9th, 2005 |
| Replies: 10 Views: 3,988 hi
can you attach necessary source code so that any body can run on their system and reply you back with their suggessions?
Regards
Srinivas |
Forum: Java Aug 9th, 2005 |
| Replies: 6 Views: 1,647 hi
instead of :
try this:
public int intint(Integer var1, Integer var2) throws IllegalArgumentException
{
if(var1==null||var2==null) |
Forum: Java Aug 5th, 2005 |
| Replies: 17 Views: 3,795 hi jwenting,
I have attached a Textfield which takes number of columns(maximum number of characters that the textfield can take) as parameter. If you use the usual textfields with keylistener,... |
Forum: Java Aug 4th, 2005 |
| Replies: 8 Views: 4,933 hi jwenting,
I had posted in javaranch regarding the validity of my SCJP. I got reply which you can view through the following URL.
... |
Forum: Java Aug 4th, 2005 |
| Replies: 18 Views: 9,237 hi,
I had once made a full fledge editor for java in java. All i did was to include the classpath while issuing the javac command.
I used
Process process=Runtime.getRuntime().exec("javac -cp... |
Forum: Java Aug 4th, 2005 |
| Replies: 13 Views: 4,131 hi,
I believe you need to have an array of random numbers which are unique. Hope this code helps.
The logic that i have used is i prepopulate an array of sequential numbers and swap the... |
Forum: Java Aug 3rd, 2005 |
| Replies: 8 Views: 4,933 hi jwenting,
Thanks for the reply. I am SCJP(2002). I hope that does not matter. I want to take it up as slowly as possible so that I can look into the quality very well. If you have any... |
Forum: Java Aug 3rd, 2005 |
| Replies: 14 Views: 5,187 hi,
For drag and drop you can try java.awt.datatransfer API. For scaling the images try java.awt.Image method getScaledInstance(int width, int height, int hints) and other related api.
Hope... |
Forum: Java Aug 3rd, 2005 |
| Replies: 8 Views: 4,933 hi all,
I am planning to take up sun certified java developer exam(SCJD). Can any one help me with the topic that you have got as the project. This would help me as I am planning to take... |
Forum: Java Aug 3rd, 2005 |
| Replies: 7 Views: 1,875 hi server crash,
You have done a great work. I donot know if I ever had the patience to do such a wonderful program for the sake of hobby.
I have a couple of suggessions as far as... |
Forum: Java Jul 29th, 2005 |
| Replies: 3 Views: 7,666 hi
I had solved it. I had to specify the port, since it was port 80 I thought it will be taken by default.
I was calling like this:
java org.apache.axis.client.AdminClient GavsWebservice.wsdd
... |
Forum: Java Jul 29th, 2005 |
| Replies: 3 Views: 7,666 Hi
I am trying to use axis with Tomcat. I am trying to execute AdminClient of axis. I am getting the following error. I get connection refused exception, i donot understand connection to where is... |
Forum: Java Jul 27th, 2005 |
| Replies: 5 Views: 1,875 hi
This link contains 33 free scjp mocks, although a few may not be very good, it is worth to trying them to gain confidence. You can also see the comments about each mock in that link before you... |
Forum: Java Jul 27th, 2005 |
| Replies: 5 Views: 1,875 hi kennedy
I prepared using:
The Complete Java 2 Certification Study Guide
by Simon Roberts, Philip Heller, Michael Ernest, Roberts et al
This book is also popular
Java 2 Programmer... |
Forum: Java Jul 26th, 2005 |
| Replies: 2 Views: 2,578 hi
you are reading the line end characters as well, they are \r and \n in windows.
That is the reason why you are getting 3 lines of :
"Sorry, you're incorrect!"
than the expected one line. ... |
Forum: Java Jul 22nd, 2005 |
| Replies: 4 Views: 1,674 hi gokul
you can try jbuilder. it is good. you can also try visual age for java
both are good ones. Free ones like net beans and eclipse with plugin are also worth trying
regards
srinivas |
Forum: Java Jul 22nd, 2005 |
| Replies: 6 Views: 2,681 hi
it can even be
static public void main(String args[])
{
//your code..........
}
<access modifiers><access specifiers><return type><method name> is the correct... |
Forum: Java Jul 14th, 2005 |
| Replies: 7 Views: 46,332 hi,
does your class has main method with the following signature?
public static void main(String args[])
{
}
regards |
Forum: Java Jul 14th, 2005 |
| Replies: 3 Views: 18,218 hi nccliang,
Probably this helps :
import java.util.*;
import java.text.*;
class TestDate
{
public static void main(String args[]) |
Forum: Java Jul 13th, 2005 |
| Replies: 1 Views: 5,390 hi all,
I am trying to connect to Oracle database from a black berry device. I am not sure how to go about starting this assignment. I am open to suggessions.
Thanks
Srinivas |
Forum: Java Jul 13th, 2005 |
| Replies: 3 Views: 1,390 hi Richard
yesterday you had posted regarding connecting to a pop3 server and viewing mails. you had problem in getting the attachments. I am really interested in the topic, when i tried... |
Forum: Java Jul 13th, 2005 |
| Replies: 3 Views: 5,673 hi
why donot you try with JWindow instead?
If you use javax.swing.JWindow then u will not have minimize,maximize or close options.
regards
srinivas |
Forum: Java Jul 13th, 2005 |
| Replies: 5 Views: 1,449 hi v2_vehooi
check out the following code, is that your requirement?
class RandomGen
{
public static void main(String args[])
{
int i=(int)(100+((int)Math.round(100*Math.random())));... |
Forum: Java Jul 13th, 2005 |
| Replies: 12 Views: 3,168 Hi servercrash,
I believe your problem is related to all components getting added to the center. Buy default if you are using gridbaglayout as a layout manager to a container, the components in... |
Forum: Java Jul 12th, 2005 |
| Replies: 6 Views: 2,330 hi compiler
I have changed your code at a couple of places.
try running your code and tell me is this what was in your mind?
regards
Srinivas |
Forum: Java Jul 12th, 2005 |
| Replies: 3 Views: 5,227 hi yarlini
your problem lies on the following lines:
DrawFrame frame = new DrawFrame("Drawing");
and
public class Drawing extends DrawPanel |
Forum: Java Jul 12th, 2005 |
| Replies: 2 Views: 18,082 hi c++
you can try this:
try {
Process process=Runtime.getRuntime().exec("<your exe>");
InputStream inputStream = process.getInputStream();
... |
Forum: Java Jul 11th, 2005 |
| Replies: 3 Views: 4,707 hi bigriggers,
as server crash had mentioned u have only one instance.
I have attached a running version. Hope this is what you are looking for:
I have made this into a awt standalone... |
Forum: Java Jul 7th, 2005 |
| Replies: 4 Views: 2,380 u can try creating an executable batch file.
to create an executable batch file u can follow the following link
http://java.sun.com/docs/books/tutorial/jar/manifest/appman.html
if you are using... |