Page 1 of 1

[CLOSED] Bug - back.png changes

PostPosted: 24 Jan 2011, 22:37
by justme
Just a minor bug, that doesn't seem to be cache related

What happended:
When opening the deck editor, the default back.png card is shown, upon moving a card to the deck, the "custom" back.png is shown instead.

I've replaced the default back.png in the images folder with an official one. this works great in-game, but apparently not in the deck editor.

Deck editor as it's opened:
Image

Deck editor after the first card is moved from heap to deck, and the moved card is still unselected:
Image

Steps to reproduce:
Put any 200x285 .png in the images folder
Open deck editor, original JPoratl back.png is shown
Move one or more crads from heap to deck
The back.png changes to whatever was put in the images folder

Re: Bug - back.png changes

PostPosted: 25 Jan 2011, 10:16
by Malban
See the other post of mine.

Coding related following happens:

The JLabel which hold the image is initiated with a "resource" image which is included within the "jar" file.

Pictures "loaded" to the label (even "reloaded backgrounds") are done from the directories...

Minor Bug - will look into it when I´m in the mood :-)...

Regards

Malban

Re: Bug - back.png changes

PostPosted: 25 Jan 2011, 14:41
by justme
Malban wrote:Minor Bug - will look into it when I´m in the mood :-)...
Agreed.

This thread not only serves as a bug report, ut also as filler for an otherwise empty forum.
Perhaps with enough posts, people will start coming in here, and discover this great app ;)

Yes, I know .... I'm borderline spamming :mrgreen: