MacOS Dashboard Widgets

I recently got a Mac and took a look at their dashboard widgets. Such widgets consist of several files:
  • An HTML file
  • A CSS file
  • A JavaScript file
  • Image files

Of course, I had to try to see how hard it would be to do the same thing in F3. Here's the F3 version of the Calculator widget:

Unfortunately, it's currently impossible to create transparent windows in Java on non-MacOS platforms, so in those cases you won't see the dropshadow and rounded corners.

It only took a few minutes to write the visual elements in F3 (I just used F3Pad). And about another hour to add the behavior (I borrowed the design of the non-visual part of the calculator from an ancient Java applet I found on the net).

F3 Source:

Calculator.f3

Original Source:

Calculator.html
Calculator.css
Calculator.js
Comments:

Feb is almost over, still waiting for the release ... ;)

Posted by falcon on February 23, 2007 at 05:14 AM PST #

Sorry falcon, I'm afraid it's going to be a bit longer. I'm hoping for early March right now (but that's not a promise).

However, I'm 99.5% certain it _will_ be before JavaOne.

Posted by Chris Oliver on February 23, 2007 at 05:25 AM PST #

I am totally thrilled about this. All these demos seem to have been written in no time. I'd love to be a part of the project that develops this, but I don't know how much use I'd be. Just finishing up a mathematics major / computer science minor at UCFV and hopefully going to grad school in Victoria, BC. Let me know if I can be of service! At any rate, I'll be keeping an eye on F3.

Posted by Russell Campbell on February 24, 2007 at 03:08 AM PST #

Get yer non-rectangular windows at http://rabbit-hole.blogspot.com. I'll be checking the stuff into jna.dev.java.net when I get the tests finished.

Posted by Timothy Wall on February 27, 2007 at 01:15 PM PST #

Uh, is there some way to shut off the calculator on Windows without using Task Manager? Thanks, John

Posted by John Carlson on March 05, 2007 at 08:27 AM PST #

Click the F3 icon in the system tray.

Posted by Chris Oliver on March 05, 2007 at 12:48 PM PST #

Chris, Can you do something like this: http://www.screenvader.com/root.html

Posted by Hristo on March 06, 2007 at 12:24 AM PST #

Chris, just wondering if you grew up in Ladner? If you get a second, drop me a line... cheers, kalen

Posted by kalen harris on March 15, 2007 at 08:55 AM PDT #

Woah, after a couple minutes and 10 pop-ups, I got a pretty calculator inside a big white window dat's almost as gud as calc.exe! I want to get teh book to learn this!@

Posted by Chewbacca UC on May 10, 2007 at 07:58 AM PDT #

Maybe a dumb question but is it possible to get the images referenced in the source? I'd like to try and run the source myself.

Posted by Michael on May 15, 2007 at 06:40 PM PDT #

Doesn't work at all on my mac, 10.4.9.... An error occurred while launching/running the application. Title: F3 Vendor: Sun Microsystems Category: Launch File Error Unsupported JNLP version in launch file: 1.5+. Only version 1.0 is supported with this version. Please contact the application vendor to report this problem.

Posted by guest on May 18, 2007 at 06:32 PM PDT #

Thank you very much for this information. I like this site

Posted by evden eve nakliyat on October 19, 2008 at 11:24 AM PDT #

Thank you very much for this information. I like this site

Posted by nakliyat on October 23, 2008 at 07:25 AM PDT #

plase open your heart because I love you

Posted by ankara evden eve nakliyat on November 30, 2008 at 08:52 PM PST #

plase open your heart because I love you

Posted by evden eve nakliyat on November 30, 2008 at 08:53 PM PST #

Click the F3 icon in the system tray.

Posted by Warhammer Online Gold on March 11, 2009 at 03:57 PM PDT #

thanksss all...

Posted by chat on May 06, 2009 at 12:16 PM PDT #

yha bari biraz kalabalık gorulsun dimi... nasılsa yazdıkalrımızı anlamıyorlar bizde icimizi dokelim bari:)... şimdi bu yazımı okuyan konu sahibide diyecek baya bir dokturmusss... ama anlasaki hic bir anlam ifade etmeyen sozlerden olusuyor... km bilir ne dusunurdu bee...

Posted by chat on May 06, 2009 at 12:18 PM PDT #

yha birde işin yonunden bakalım... simdi ben burda bu konuyu yazan adama kufurde edebilrdim dimi... ama etmiyecem nede olsa bize faydası oluyor... bakmayın oyle yazdıgıma okundugu zaman baay dokdurmus desinler diye karalıyorum sadece....

Posted by birecik on May 06, 2009 at 12:19 PM PDT #

ben olayı cozdum galiba... adam css kullanarak bir hesap makines yapmıs.. onu java ile desteklemiş... her ne kadar yazıyı okuyup anlayamasakta resimlerden o anlasılıyor... very nice ama dogruya dgru...

Posted by web tasarımı on May 06, 2009 at 12:20 PM PDT #

good sharing, thank you.

http://www.vaziyet.net/kopek-dovusleri-izle
http://www.vaziyet.net/msn-ac
http://www.haberiz.com
http://www.vaziyet.net/facebook

--------------------------------------------------------------------------------

Posted by facebook on May 16, 2009 at 06:45 PM PDT #

thank you very good
<a href="http://www.gekkog.com" title="Gekko, Gekko G">Gekko G</a> Gekko G Fan
<a href="http://www.kodes.com" title="hiphop, rap">Hiphop</a> Hiphop Sitesi

Posted by Rap on June 18, 2009 at 01:14 AM PDT #

http://www.smsmatbaa.com

Posted by matbaa on June 22, 2009 at 03:08 AM PDT #

Frankly I find interesting

Posted by vajinismus on May 03, 2010 at 04:11 PM PDT #

simdi ben burda bu konuyu yazan adama kufurde edebilrdim dimi... ama etmiyecem nede olsa bize faydası oluyor... bakmayın oyle yazdıgıma okundugu zaman baay

Posted by chat on May 25, 2010 at 12:37 PM PDT #

simdi ben burda bu konuyu yazan adama kufurde edebilrdim dimi... ama etmiyecem nede olsa bize faydası oluyor...

Posted by hp Pavilion DV6000 batterie on October 01, 2010 at 12:59 PM PDT #

important and awake! great job bro thanks.

Posted by Egitim on December 11, 2010 at 05:47 AM PST #

Simple and Nice example !

Posted by شات on December 15, 2010 at 03:42 AM PST #

thanks

Posted by karaaslan on February 23, 2011 at 10:24 AM PST #

important and awake! great job bro thanks.

Posted by aslan on February 23, 2011 at 10:27 AM PST #

hello admin

Posted by hüseyin on February 23, 2011 at 10:28 AM PST #

Frankly I find interesting

Posted by nakliyat on February 23, 2011 at 10:31 AM PST #

yha birde işin yonunden bakalım... simdi ben burda bu konuyu yazan adama kufurde edebilrdim dimi... ama etmiyecem nede olsa bize faydası oluyor... bakmayın oyle yazdıgıma okundugu zaman baay dokdurmus desinler diye karalıyorum sadece....

Posted by karaaslan on February 23, 2011 at 10:34 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

user12610627

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
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
   
       
Today