gadni's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 11 (0.02 per day)
- Joined:
- 15-September 11
- Profile Views:
- 203
- Last Active:
May 06 2012 12:11 PM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: TabbedPane and keyListener
Posted 3 Oct 2011
setMnemonicAt() method change which keys will switch panels, but i don't need this because it is ok to switch panels with right and left arrow. I need up and down arrows to trigger something (resize image on other panel) and i can't do this because key listener can't recognize up and down arrow... -
In Topic: Picture framing project
Posted 28 Sep 2011
I've almost done this, but i need help one more time. I do this by putting all stuff(image, passpartout and image frame) on one JPanel, and then i add that JPanel on other JPanel with borderlayout (on center). This is how it looks right now (see first attached image).
Now i have problem with resizing that Panel with all stuff on it. User can resize passpartout or picture frame, and when user increase it a lot, it looks like second attached image. I want to resize complete panel so that image and all looks nice. What's most painless way to do it? Do I have to calculate ratio of components on JPanel and resize each component, or there is better solution? I tried to setSize() and setMaximumSize() on that Panel but it didnt work... -
In Topic: Picture framing project
Posted 21 Sep 2011
How can i draw this shape and fill it with texture? Is there any way to draw it line-by-line and then fill it, or i must use Area class? -
In Topic: Picture framing project
Posted 19 Sep 2011
I have another question, sorry if I'm annoying.
My program load 4 megapixel image, and before I display it on panel, I resize it with img.getScaledInstance(bla bla)
The problem is that it takes about 10 seconds and I think it is too long. Is there faster algorythm for resizing Image (or BufferedImage)?
On third parameter of getScaledInstance(one, two, three) i used Image.SCALE_SMOOTH because other parameters give me bad quality. -
In Topic: Picture framing project
Posted 19 Sep 2011
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Click here to e-mail me
Friends
gadni hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given

|
Comments
gadni has no profile comments yet. Why not say hello?