UI Designer: feedback request

Hello everyone,

Now that the UI Designer has reached somewhat stable state in recent builds,
we'd like to request feedback on its current state. I'm particularly interested
in discussing the user experience for placing components on forms and editing
the form layout, although feedback on all other features is also very much
welcome.

It's important for us to receive the feedback now, because now we still have
time to make major changes to the UI Designer user experience if it turns
out to be necessary.

Thanks in advance for all your comments.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
39 comments
Avatar
Permanently deleted user

Hello Robert,

RG> Hmmm, doesn't seem to work for me. I'm prompted to set link the
RG> functionality to a run config which seems to succeed since when I
RG> run I
RG> get a line like
RG> SnapShooter listening on port 46666
RG> in my output. But when I choose New Snapshot I can only type in the
RG> Name
RG> box or press Cancel - I have no components listed in the box.
RG> Here's what appears in my console
RG> SnapShooter listening on port 46666
RG> SnapShooter connection accepted
RG> Sending response: .
RG> End of stream receiving command

Did you invoke the command when the Swing UI of your application already
appeared? What is the JDK version under which you run your application?

I'll add some more diagnostics to find out why the SnapShooter cannot load
the Swing component tree.

RG> Moreover, how do I set up this functionality for additional run
RG> configs or remove it on a config I've already set up? I don't see
RG> anything in the Run Configuration dialog box.

"Enable capturing form snapshots" checkbox in the Application run configuration.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
Avatar
Permanently deleted user

Dmitry Jemerov (JetBrains) wrote:

What is the JDK version under which you run your application?


6.0 b72 - I tried again with 5.0 and it works a bit better. (Is it a
design constraint that I can't create a form for a JFrame?)
I'll start filing bugs ;)

"Enable capturing form snapshots" checkbox in the Application run
configuration.


Thanks, didn't spot it. Must be "Monday morning syndrome" :)
R

0
Avatar
Permanently deleted user
0
Avatar
Permanently deleted user

Hello Robert,

>> What is the JDK version under which you run your application?
>>
RG> 6.0 b72 - I tried again with 5.0 and it works a bit better.

Thanks - I'll check why SnapShooter doesn't work with Mustang. It relies
on some Swing internals, so it's not too much of a surprise that it doesn't
work right now.

RG> (Is it a
RG> design constraint that I can't create a form for a JFrame?)

Well, since the UI Designer doesn't support designing frames, taking snapshots
of frames is not supported either.

RG> I'll start filing bugs ;)

Thanks. :)

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
Avatar
Permanently deleted user

Dmitry Jemerov (JetBrains) wrote:

Thanks - I'll check why SnapShooter doesn't work with Mustang. It relies
on some Swing internals, so it's not too much of a surprise that it
doesn't work right now.


It's not of major importance to us that it works with Mustang, although
if taking a snapshot is failing the user should be informed why ...
Presumably there's an exception you're swallowing somewhere which could
be reported.

Well, since the UI Designer doesn't support designing frames, taking
snapshots of frames is not supported either.


OK I haven't played with the UI Designer before - is this planned
functionality or is it completely off the roadmap?
R

0
Avatar
Permanently deleted user

Hello Robert,

>> Thanks - I'll check why SnapShooter doesn't work with Mustang. It
>> relies on some Swing internals, so it's not too much of a surprise
>> that it doesn't work right now.
>>
RG> It's not of major importance to us that it works with Mustang,
RG> although if taking a snapshot is failing the user should be informed
RG> why ... Presumably there's an exception you're swallowing somewhere
RG> which could be reported.

No, the reason is different. Turns out that there is an official and public
API that does what I attempted to do through internal classes, so in the
next build it'll work with Mustang as well.

>> Well, since the UI Designer doesn't support designing frames, taking
>> snapshots of frames is not supported either.
>>
RG> OK I haven't played with the UI Designer before - is this planned
RG> functionality or is it completely off the roadmap?

Most likely it won't be implemented in 6.0, but possibly in a later version.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
Avatar
Permanently deleted user

Well, since the UI Designer doesn't support designing frames, taking
snapshots of frames is not supported either.


Then just capture the content pane.

Tom

0
Avatar
Permanently deleted user

Hello Thomas,

>> Well, since the UI Designer doesn't support designing frames, taking
>> snapshots of frames is not supported either.
>>
TS> Then just capture the content pane.

You can do this now - just select the content pane in the component tree.

It may be a good idea to do so automatically.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
Avatar
Permanently deleted user

Still haven't managed to take a snapshot :(
http://www.jetbrains.net/jira/browse/IDEA-7530

0

Please sign in to leave a comment.