Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: Returning to Java - have questions Date: Thu, 22 Jan 2015 06:48:40 -0500 Organization: A noiseless patient Spider Lines: 36 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 22 Jan 2015 11:51:06 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="c50a9e5d554cfaba13eda1c71e805135"; logging-data="4528"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+oEu7fE0q32n/1z6i3cRElR8Mu7XwhQmI=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 In-Reply-To: Cancel-Lock: sha1:CeUz8mSSlBG+R6DyvBP/QRWAs88= Xref: csiph.com comp.lang.java.programmer:30786 On 01/21/2015 11:06 PM, Jerry Stuckle wrote: > Hi, all > > Well, I'm just getting back into java after about a 15 year hiatus. I > did a bunch of it back then, both SE and EE, but then got off on other > projects. > > Now I want to get my fingers back into it and see massive changes. It's > going to take a log of getting used to. > > For instance, I was looking at a game I wrote back then (nothing fancy - > just something to play with). With Swing it's very easy to change the > look of buttons by loading a new image, i.d. when the player presses the > button. It seems with fx the only way you can change the button when > it's pressed/not pressed is via css. While I guess there are advantages > to doing it this way, I haven't seen them yet. And I'd rather be able > to control the button looks myself. extend SkinBase and use Control.setSkin(Skin value) > > So my first question is - are there events I can intercept to tell when > the button is pressed and when it is released? All I see so far is the > ACTION event. > > And I'll also ask a short question with I suspect long (and very > subjective) answers. Which IDE do you like for developing Java apps, > and why? Most will be standalone gui apps for now. And please - I know > which IDE can be almost a religious discussion - let's not commit any > sins against other IDE's :) > > TIA, > Jerry >