10 comments
Comment actions Permalink

How innovative of them, eh? Who would think marking errors right in the editor could be of any use? Error detection is a compiler's job, right?

Man, some people really live in the dark... If you would strip everything from IDEA save for the editor (together inspections/intentions), I still couldn't see why use any other product on the market.

0
Comment actions Permalink

We know this are not the most innovative features - the other IDEs came earlier with them. But how about the new GUI builder?

See:

http://blogs.sun.com/roller/page/roumen/20050604#new_gui_builder_demo_is

0
Comment actions Permalink

Generally, it looks interesting. But I have a couple of questions:
- How does it store the layout and components?
- How difficult it is to use own components?
- Are the gaps between the components configurable for the whole
application?
- It is possible to use component factories?
- Is the created application fully obfuscable (except the main class)?
and finally:
- Could it be used in IDEA?

Your answer to the above questions is highly appreciated.

Tom

0
Comment actions Permalink

Hello Roman,

And also with a Tom, one more question:
+ How it generate code? By java generation or by bytecode instrumentation?
+ If it generate Java. Can we change it? Can it recognize manual changes
in code?

Thanks!


0
Comment actions Permalink

Thomas Singer (MoTJ) wrote:

Generally, it looks interesting. But I have a couple of questions:


Other than what I've briefly read elsewhere...

- How does it store the layout and components?


I've seen it said "we havn't got away from the .form file", so I guess
they've still got their XML format, weather they're still generating
code in your class or not I have no idea.

Thats one thing I do like about IDEAs approach, although the byte-code
approach I'm not too sure on - I keep thinking about about some form of
"gui by interfaces" approach. Instead of binding to a class, bind to an
interface - the interface gets getters/setters for your bound fields, a
byte code instrumented class ( or .java if you wish ) could be generated
to do all the creation.

Your code then creates/uses an implementation of the interface ( the
implementation may be wired up via Spring, or another IoC or by
traditional means.

It would be good to see the IDEA GUI builder progress and address some
concerns people have expressed here in the past ( esp. those Thomas has
reiterated whenever someone mentions any GUI toolkit ).

- How difficult it is to use own components?
- Are the gaps between the components configurable for the whole
application?
- It is possible to use component factories?


Like those :)

- Is the created application fully obfuscable (except the main class)?
and finally:
- Could it be used in IDEA?


As far as I'm aware I've heard "NaturalLayout" mentioned as the layout
engine from Roumens blog (previously linked) and elsewhere, I've seen
references to it being part of uic.

http://uic.sf.net/
http://uic.sourceforge.net/api/12/uic/layout/NaturalLayout.html

Mark

0
Comment actions Permalink

Here are my answers for questions where I know the answer. For others, why don't you post them to this thread on Javalobby:

http://www.javalobby.org/java/forums/t18969.html

It's being responded by the GUI builder developers (I'm just a quality engineer).

- How does it store the layout and components?
As a .java sources and as XML in a .form file.

- Are the gaps between the components configurable for the whole application?

Not yet, but that was the first thing I've asked about. It's now taken by Swing spacing rules. I think they want to make it configurable, but I can't speak for the developers.

- Could it be used in IDEA?

No.

For the other answers, I suggest you to ask at Javalobby.

0
Comment actions Permalink

As suggested, for more details ask at Javalobby. Bytecode instrumentation is not used. Code can be changed outside IDE, but it's generally not recommendend. We rather want to make sure to provide all tools so that this is not necessary. Arbitrary code can be added using customizers through the GUI.

0
Comment actions Permalink

Hello Roman,

RS> As suggested, for more details ask at Javalobby. Bytecode
RS> instrumentation is not used. Code can be changed outside IDE, but
RS> it's generally not recommendend. We rather want to make sure to
RS> provide all tools so that this is not necessary. Arbitrary code can
RS> be added using customizers through the GUI.

Thank you!


0
Comment actions Permalink

Thanks, that ensured this discussion will be dead in no time. Javalobby forums are a usability nightmare :P

0
Comment actions Permalink

Well, you can change the thread view so that all posts are on one page... ;) It's in the profile settings.

0

Please sign in to leave a comment.