Showing posts with label for. Show all posts
Showing posts with label for. Show all posts

Saturday, July 24, 2010

turning the J into an A

So... this is what I've been working on today. Making the J from some of the javax.swing classes turn into an A... but that's not all ;)). I've been trying to extend JButton and JPanel. The results are: AButton and APanel.
These A things inherit form the J things and here's the spice: the AButton, instead of having some text displayed on, it will display an image/picture. The button takes the size of the picture that it's displaying +4 on both X and Y axis. The APanel instead of having a background made entirely out of one single boring color it displays a background picture.
One more thing that I added was an ACanvas. All these three classes work both with JFrames and JApplets.
Here's a screenshot of an example with a simple application:
The YouTube My Channel is actually a button. I'm too tired now but I'll add source code and maybe the application later. I'm going to bed. Good night!
P.S. ...and Ace Of Base launched a new single: All For You. Linn and Jenny are not in the band anymore but there still are two main female voices: Clara Hagman and Julia Williamson. Good news: the new song has that good, old and awesome ace of base feeling :D. Here's a link to a preview and here's a radio rip because it hasn't yet been released all over the world.

Monday, January 7, 2008

movies again

I'm back in Odense. A little emptiness is what I started to feel since I left Oradea. My friends are there! My childhood is there. Well, this will pass. If it won't then I'm going to have to make it pass...it wouldn't be the first time :D, but it makes me tired.
Now let's get to the point: I've seen Requiem For A Dream (Darren Aronofsky) yesterday. It deals with addictions. I know... some might say "already an old but great movie, everybody knows it",but I haven't seen it until yesterday evening. I had it before, but never gave it much attention(didn't press play) evendough the title sounds so interesting.
It's not a beautiful movie. Not at all... or not realy... , but it's strong and shocking with a good moral and I like that. It has no happy ending. It showed me a perspecive on mind depravation causes that I've never thought of before. By the way, one more thing that I like about this movie is the fact that it promotes the idea that whatever your goals are, it very much matters what you do in order to achieve them.
The music is great, and the effects also, but I think that you already know that.
Now Jennifer Connelly is on my wallpaper (so beautiful at 37! wonder...)I'm a little tired now. There are some other movies that I'd like to talk about now, but I'll live them for the next times... there is one that I will strongly recommend you to watch if you didn't. You'll see!