Ajay Singhal

Ranch Hand
+ Follow
since Jan 10, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ajay Singhal

It will depend upon the production scenario.

If you need to fetch data from database, and hit rate is higher Entity beans will be a good approach.
Hi All,
I also got 16.
Ajay
17 years ago
Hi All,
is there anything like expiration of sun certification exams like microsoft has.
i cleared few microsoft exams two years back and yesterday i came to know those exams are no longer valid. is there any such concept with sun java exams.
Ajay
Hi,
i think you need to get your hands on java i/o.
FYI - parse the records into an array and pass it onto JTable. or create a model if you are familiar with and add records using model.
Ajay
17 years ago
Hi,
can you specify the put the classpath and the package structure in your message.
write down the steps so that the problem can be recognised...it must be some basic mistake.
Ajay
17 years ago
Hi,
You can use NumberFormat class to get your results.
Ajay
17 years ago
Hi,
what you can do is, bundle your jmf libraries in your installer just as you bundle normal jar and lib files.
you do not need to install jmf additionally...
Ajay
17 years ago
hi
the code i have written to add chat messages to the chat panel is :
current = (AttributeSet)ht.get(BOLDBLUE);
doc.insertString(doc.getLength(),name+": ",current);
current = (AttributeSet)ht.get(NORMALBLACK);
doc.insertString(doc.getLength(),message+"\n",current);
where :
name is name of the chat user
message is chat message
BOLDBLUE is
static final String BOLDBLUE = "BoldBlue";
NORMALBLACK is
static final String BOLDBLUE = "NormalBlack";
kindly reply if you think there is some possible solution.
Thanx
19 years ago
hi friends
i have the same problem of showing a transparent frame. Actually i want to show a transparent frame on top of my application so that i can draw something on that frame(transparent). if you comes across any solution then kindly reply for the answer. or send a mail to me at Ajay_k_singhal@yahoo.com
Thanx
19 years ago
hi friends
i have created a chat application. interface is designed using Swing JTextPane component.
when chat users start chatting sometimes textpane becomes gray on receiving a new message.
if anyone know, came across the kind of problem then kindly send me a reply OR send me a mail at Ajay_k_singhal@yahoo.com
Thanx
19 years ago
hi
i have the same problem of showing transparent panel on top of the panel.Actually i want to perform some drawing operations on top of the html pane.
if you come across any solution then kindly give me the solution.
you can mail me at Ajay_k_singhal@yahoo.com
Thanx
19 years ago
hi! friends
i've a problem in socket communication. the problem is that i want to get the free ports on the remote machine
how can i do that.
and i also want to check that on a remote computer a application is running on which port.
if u have any idea then reply back.

Ajay Singhal
hi! Friends
I'm working on an online meeting project.
white board is a part of the project.
now i may have multiple sheets on the whiteboard so when organizer will change the sheet the listeners will be having the same sheet on the whiteboard.
the problem is that the data indicating the sheet change is comming perfectly.
and i've added sheets using cardLayout.
so on request of a particular sheet the same sheet has to shown on the board.
but some times it doesnot refreshes the board.
but if i'll maximizes the board then it shows the changed sheet.
i think the problem is in painting concept but unable to catch the exact problem.
Ajay Singhal

------------------
20 years ago
Dear Dipti
Actually >>> is an Zero fill shift operator.
it works in the following manner.
suppose i contains 11111111111and so on.
then i>>>2
will convert it to 00111111111and so on.
but in case >>1
it will remain 11111111111 and so on
20 years ago
Hi! friends
i'm creating an byte array which will hold the bytes of an image.
my image size is 900 kb.
i.e i have to take an array of approx. 9000 elements.
when i'm running the servlet the webserver is giving an out of memory error!!!
so i confuse what could be the size of an array.
Ajay Singhal
------------------
20 years ago