Nicholas Riley’s Weblog
Thoughts from a computer science graduate student,
medical student and Cocoa programmer (this week).

Skip over navigation
June 2002
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
May   Jul

made with
Click here to visit the Radio UserLand website.

Click on the coffee mug to add Nicholas Riley's Instant Outline to your Radio UserLand buddy list.

 

>
Wednesday, June 26, 2002
 
On the last day of MacHack, Eric Albert gave Andrew Downs some help with porting his Java dock tile app he wrote for a MacTech article from JNI to JDirect. My first thought was to adapt it for showing my webcam to my parents—finally, a valid use of dock magnification. I spent an hour rewriting the code in Cocoa after spending some time on the Java version earlier today: it was a lot faster than getting the Java version to do what I wanted.

My application was very bare-bones, but it did what I wanted: displayed the webcam image in the application's dock icon and a separate window. PhotoStickies is far more full-featured, but it doesn't update its windows in the dock. If I get a spare hour later this week, I'll add a simple user interface to my code and post it.

I'm not feeling too well right now, so I'm about to go home and sleep; hopefully I will be better in time for our group meetings tomorrow morning. 4:00:46 AM | reply []


Looking for older (or newer) material? Click another date on the calendar at the top of this page.