Win a copy of Rust Web Development this week in the Other Languages forum!

Constanze Michaelis

Greenhorn
+ Follow
since Jul 28, 2004
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 Constanze Michaelis

what about

regards
Constanze
16 years ago
hi
does your class implement the ItemListener?
in my menu i took the ActionListener, because MenuItems fires Action Events.
here having example what i would write


hope this helps
regards
Constanze
[ July 12, 2005: Message edited by: Constanze Michaelis ]
16 years ago
hi
which Listener do you use?

regards
Constanze
16 years ago
hi,
i never worked on JLists, but for your first question, what about removeSelectionInterval(int index0, int index1) ?
or did i understand it not correctly
the 2nd question i hop someone else will help you.
regards
constanze
16 years ago
Hi Nidhi,
I'm quite not sure, if this is right, but what about setting your window focusable?

regards
Constanze
16 years ago
hi @ll,
i have just a question about BasicSliderUI.
I wrote a class which extends from BasicSliderUI to have a knob for toggling.
Actually I noticed that I have to disable the knob on Startup of the application because of possible wrong usage. the knob is disabled
(no move can be done), but it appears like enabled. so my question is, which method(s) do i have to override, or what do i have to add in paintThumb and paintTrack, that there can be seen a change.

best regards
Constanze
16 years ago
Hi @ll,
i tried to print all Components of a JFrame with the java.awt.PrintJob -API. According to the problem that I tried to scale the print which wasn't working I tried out the javax.print -API.
But I'm not able to print according to the problem, that I don't have a DocFlavor for JFrame.
How can I solve this Problem?

Regards
Constanze
16 years ago
No, i got values over 256 not with the value, i get it with help.read() ...

But i think i found out the problem, otherwise i will write again tomorrow.
16 years ago
hi joe

I know, but I get values above 256, why?

bye

Constanze
16 years ago
hi,
i get the data from a microcontroller, and this sends first the high byte and than the low byte. and this low byte is via ethernet in 5 of 256 terms wrong.

regards
Constanze
[ January 24, 2005: Message edited by: Constanze Michaelis ]
16 years ago
Hi @ll

I have an Input Stream that I read out with BufferdInputStream. after reading out High Byte I shift left. Reading out Low byte gives in 5 of 256 an irregular value.


How can I solve?

regards
Constanze
17 years ago
Hi,

use policytool in directory java_home/bin to create a new policy file.
running locally does not imply running on server, so it would be better to sign the applet.

bye
Constanze
[ January 03, 2005: Message edited by: Constanze Michaelis ]
17 years ago
the image is in the jar file. i will consult the tutorial again and then i hope to find the right answer

thanks for assisting

bye
Constanze
17 years ago
hi

i don't really know but I suggest, that the size of your BufferedReader is too small. Look up the API for the Constructor where you can set the size.

hope this helps

Constanze
17 years ago
Did you check if there occures an error in the java console?

How do you invoke the applet?

Bye
Constanze
17 years ago