last day (14 days later) » 

3:11 AM
Wowho, made it in...
 
Nice, sorry about the wait, have NO idea what im doing
 
You had a question about the background image question...
 
I did, you mentioned about mixing Swing and AWT, and you mentioned that it was a bad thing, specifically pointing out how JFrame references Frame, an AWT, and I was wondering why it was so bad
you gave an example, but I didn't quite understand the link you gave
 
Actually, I mentioned java.awt.Panel
There is z-ordering issue when trying to paint Swing components and AWT components, it's suppose to have been fixed in Java 6, but I've seen it occuring since...
 
Hmmmm, what sort of issues? I know z ordering is like something on top of the other in programming
Like if i had 2 images and put one on top of the other, the z order for each would be different even if they exact same image
 
3:19 AM
Basically, heavy weight components tend to paint over the top of Swing components, regardless of where they are added within the container hierarchy, AWT components don't have a sense of z-ordering...
If you added Swing components to a AWT container, it's possible the the contanier itself would paint over the Swing components...
 
Ahhhh, is there anyway to manually handle that?
 
???? Well I would imagine that the guys working on Java would do something about it?!
How long has it been like this?
Welcome Vince!
 
Since Java 1.3
And since the effort seems to be on FX, I doubt it will be addressed
As I said, it's suppose to have been fixed in Java 6, but I've seen this in Java 6
 
Ah, I see, surprised it goes that far back too.... And yes, I noticed Swing has been getting a lot less love, expecially with 8 and their big jump on top of JavaFX
Would you recommend abandoning Swing for FX?
 
3:27 AM
That would depend on your needs
 
How so? I heard FX is Java's answer for Swing being extended from a broken and ancient idea called AWT
 
The problem I have with FX is it doesn't know what it wants to be, Flash competitor, desktop framework, 3D framework...it's a jack of all trades and a master of none...
Swing, for it's faults, has a experienced community behind it, while this will become true for FX in time, unless you are willing to solve problems on your own, FX might not be the best choice right now
Swing can also do transparent windows, which apparently FX can't (or at least people haven't shown me), but now I'm just gloating ;)
 
Ahhhhh, ok. And yes, I actually just got started in transparent windows a few weeks ago! Can't say I'm any good with them tho... How is FX being received from your perspective?
Is the community a fan or no?
 
3:41 AM
Some are, some aren't
I'm not a massive fan, but that has to do with 15+ years of experience in the API and the fact they can't seem to make up there minds over what it should actually be...
It can't be every thing to every body all the time ;)
 
I hear ya!
Reason I ask is because, I had a bit of practice with Swing, and was wondering if making the move to FX would be worth it
Especially is things are as you say, spread too thin
 
I would have a look, see what you can do with it, there's no point shooting yourself in the foot ;)
I'm learning Objective C, but I have a need for it.
Swing also has a great and large 3rd party library support, which, again, FX will get, eventually
 
Cool man, preciate the help! I'll do a little bit of research on my own, especially give FX a shot, thanks for all the insight, I learned a lot!
Plus, I don't wanna hold you back if you busy
 
Better chatting then doing my awesome debugging :P
Good luck with your investigations ;)
 
Hahaha, I hear ya! And cheers to you with that debugging! :)
 

last day (14 days later) »