CH Lee

Ranch Hand
+ Follow
since Nov 24, 2003
Merit badge: grant badges
For More
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 CH Lee

Hi there,

Thanks for all the information & URL. I will look into it, may take a lot lot time. Hopefully this thread won't be shut when I have something to post later.

Cheers.
19 years ago

Originally posted by Christopher Arthur:
To put on a water mark, you'll need first a file loader for the pictures, then when you have the pixel information stored in an RGB array, you just want to subtract a fraction of the watermark's RGB values to the main picture's RGB values, pixel by pixel. If you want to emboss an image by putting a little shadow around it, things get much more complicated.




Hi Christopher,

Thanks for your information. I will try it out. Hopefully I can get it work.

If you don't mind, could you share with me on how to do the emboss thing? If you don't have the time, pls point me to a few place, i.e. website, articles, etc., that I could pick up more information.

Thanks.
19 years ago
I tried that but no luck yet. Still doing it now.

Just in case I didn't paint the correct picture of what I wanted, here I go again. I basically want to do something like:
1. Join 2 pictures together.
2. Emboss another picture on another picture. Something like watermark or signature.

Please help.

PS: Does this fall under the beginners category? If not then I think the mod will deduct 10 post count from me.
19 years ago
Hi guys,

Can show me a few tutorials, articles, etc. on how to go graphics programming with Java? Preferrably something with sample code. I am trying to pick up some graphics manipulation with Java, hope you guys can help a newbie here.

Thanks.
19 years ago
Wow!!! Thanks for the great explanation!!! Have to admit that I am not that careful and specific as you guys in analysing the code!!! Now I understand this point crisp clear.
Just one last affirmation.
If I coded it like this:

The letter in each InSync will not need a synchronised lock, am I right?
Once again, thanks guys!!!
Cheers.
Errrrr......one bartender said the answer is FALSE (to use the IMPLICIT in that reference) but another bartender said it is TRUE (as interface is never implicitly cast as an implementing class). I am a bit confused. Could someone please explains this further. Thank you.
Cheers.

Originally posted by Reginald Law:
sleep
join
wait
I highly recommend that you look at the class library documentation when studying for the exam. One of the things that I found out is that never everything on the exam are in the study guides. Also you need to know which methods in the thread class can throw exceptions. There are other classes like object that have methods that can throw exceptions.
There is a book called Thinking in Java by Bruce Eckel that you should look at.


Does this simply mean I can't pass SCJP solely reading up both K&B & Mughal's books?
Do we need to memorise all the methods in Java API to pass?
Certainly, if I get this one kind of question in SCJP, then my dream of scoring 100% would definitely be gone, that is provided that I study hard enough to score 100% .
Please someone or even K&B verfiy this.
Thank you.
Hi,
Corey's explanation is marvellous!!! Thanks!
But I still have some lingering doubt in this topic. Appreciate if you could shed more light . Also, please correct me if I am wrong.
I thought

each InSync will have their own (StringBuffer letter)? Am I right? This is because StringBuffer is not defined as static or anything. Whenever an object (InSync) is created, they will have their own copy of letter. If this is the case, there is no necessity to use synchronise at all?
Please verify.
Thanks.
Cheers.
I don't think we can ever get an answer from Bert regarding String GC. Someone posted similar question using string for GC before and I did in fact ask Bert for an answer to the guestion. Unfortunately, Bert advised me to change the string to other type then only answer will be given.
So I guess we could just take Bert's adivce and move on from here.
IMHO, the correct answer (if not string type) would be 9.
Cheers.
Hi guys,
My browser can accept cookies and I am behind some proxy server.
Let me try out a few setting for the browser security setting, MS IE thingy. I will let you know how it turns out.
Thanks for looking into this matter. Appreciate it.
Cheers.
Hi guys,
My browser can accept cookies and I am behind some proxy server.
Let me try out a few setting for the browser security setting, MS IE thingy. I will let you know how it turns out.
Thanks for looking into this matter. Appreciate it.
Cheers.
Hi guys,
First of all, thank you for your reply and explanation.
Secondly (no offence to those who supported this), I don't really like the idea of replying thru email. Like many of you said so, this may just create a lot of unnecessary duplication.
Thirdly, I only realised this after I posted the above message. After going thru a thread where JavaRanch owners going thru some pain collecting donation and explaining the server situation, I think I will stop asking for news reader support. The amount of traffic may just somehow kill the server.
And lastly, about the RSS feed, it would be something very interesting. Are you guys discussing it here in this forum? Where can I find the thread to read more about it?
Once again, thanks guys for having this great forum.
Cheers.
20 years ago
Hi Thomas,
I thought I may have given your some wrong information, so I tried it again on your website.
This is what I did.
1. Click on signin.
2. Provide username/password.
3. I'm logged in, can see mock exam links and a few others on the left side.
4. Click on home, all the links for mock exam are gone. See 'Become a member' link, etc.
5. Click on 'Certification center', I am asked to login again.
Tried this 3 times (I guess) and same result.
Then again, if you can't reproduce it, maybe it is just only my problem, so can ignore it.
Thanks again.
Cheers.
Well, all I could say is that what you have written there are valid but for the actual reason......too bad, I can't offer any good explanation.
A brief understanding of mine is that a subclass reference could always point to the main class is because subclass has more 'substance' than main class, therefore pointing to it should not have any problem. Could any expert here please verify my point. Thanks.
Cheers.
Hi guys,
Just wondering is there a rules that don't encourage us to use offline news reader to access to this site? I really like to know as I like to do some reading on this forum when I am on the road.
Would appreciate anyone to thrown some light on this matter.
Thanks.
20 years ago