Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #4522 > unrolled thread

Re: JTabbedPane-How to ch

Started by"stacey" <stacey@THRWHITE.remove-dii-this>
First post2011-04-27 15:51 +0000
Last post2011-04-27 15:51 +0000
Articles 5 — 4 participants

Back to article view | Back to comp.lang.java.gui

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: JTabbedPane-How to ch "stacey" <stacey@THRWHITE.remove-dii-this> - 2011-04-27 15:51 +0000
    Re: JTabbedPane-How to ch "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:51 +0000
      Re: JTabbedPane-How to ch "stacey" <stacey@THRWHITE.remove-dii-this> - 2011-04-27 15:51 +0000
        Re: JTabbedPane-How to ch "Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this> - 2011-04-27 15:51 +0000
          Re: JTabbedPane-How to ch "John B. Matthews" <john.b..matthews@THRWHITE.remove-dii-this> - 2011-04-27 15:51 +0000

#4522 — Re: JTabbedPane-How to ch

From"stacey" <stacey@THRWHITE.remove-dii-this>
Date2011-04-27 15:51 +0000
SubjectRe: JTabbedPane-How to ch
Message-ID<e28815b7-4e8a-4cbe-b35a-437910dc25b2@f3g2000yqf.googlegroups.com>
  To: comp.lang.java.gui,comp.l

This is my thesis, and i was told to do it. :S

Oh, so L&F is charge of this? i didnt know.

Thank you very much for the instant reply.

Stacey



On Dec 2, 6:41=A0pm, Stefan Rybacki <noem...@noemail.foobar> wrote:

>
> I think that is L&F specific, isn't it?
> Karsten if you read this, can you shed some light here?
>
>
> Btw. why is that functionality important to you? One way (and I don't lik=
e that
> way) would be to remove the tabs from second row and insert it before the=
 first
> row, reselecting previously selected tab. (But again I don't quite like t=
hat
> solution, better let the L&F handle that for you)> Stacey
>
> Stefan

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [next] | [standalone]


#4527

From"tar" <tar@THRWHITE.remove-dii-this>
Date2011-04-27 15:51 +0000
Message-ID<ymifxl6gquh.fsf@blackcat.isi.edu>
In reply to#4522
  To: comp.lang.java.gui,comp.l
stacey <staceyventuras@gmail.com> writes:

[Context:  Swapping the row with the selected tab to be in front.]

> This is my thesis, and i was told to do it. :S

Too bad.  Is it a central part of your thesis or just something
incidental to the program you are writing as part of it?

If this were from someone I was advising, I would be pleased if they
would present arguments for why this was a bad idea.  But I realize that
not all supervisors are that reasonable.

I think that this is a bad idea, because it makes what I feel is a
unneeded and indeed unhelpful change in the layout of the window.
Having the tab rows move around means that users can't learn, for
example, that a particular tab is in the middle of the top row.  Because
sometimes it's there, and sometimes it's in the bottom row instead.  And
that placement may be determined by a choice completely unrelated to the
tab in question.

So it seems this particular design element will reduce the efficiency of
the interface, reduce the benefits of learning to work with the software
and generally move things around on the screen to the annoyance and
possible frustration of users.  OK, it's probably not quite that bad,
but I don't see what BENEFIT you get from moving the rows of tabs.  And
I see a bunch of disadvantages.

-- 
Thomas A. Russ,  USC/Information Sciences Institute

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#4529

From"stacey" <stacey@THRWHITE.remove-dii-this>
Date2011-04-27 15:51 +0000
Message-ID<809f21c8-1899-4a63-a7e0-4c6ad2836498@u14g2000yqg.googlegroups.com>
In reply to#4527
  To: comp.lang.java.gui,comp.l
i kind of agree with you, but..
I ll try an talk to him about it again.

Still if someone knows how to do it, i would appreciate it if he gave
me some guidelines.

Thank you again.

Regards,
Stacey


On Dec 3, 12:22 am, t...@sevak.isi.edu (Thomas A. Russ) wrote:
> stacey <staceyventu...@gmail.com> writes:
>
> [Context:  Swapping the row with the selected tab to be in front.]
>
> > This is my thesis, and i was told to do it. :S
>
> Too bad.  Is it a central part of your thesis or just something
> incidental to the program you are writing as part of it?
>
> If this were from someone I was advising, I would be pleased if they
> would present arguments for why this was a bad idea.  But I realize that
> not all supervisors are that reasonable.
>
> I think that this is a bad idea, because it makes what I feel is a
> unneeded and indeed unhelpful change in the layout of the window.
> Having the tab rows move around means that users can't learn, for
> example, that a particular tab is in the middle of the top row.  Because
> sometimes it's there, and sometimes it's in the bottom row instead.  And
> that placement may be determined by a choice completely unrelated to the
> tab in question.
>
> So it seems this particular design element will reduce the efficiency of
> the interface, reduce the benefits of learning to work with the software
> and generally move things around on the screen to the annoyance and
> possible frustration of users.  OK, it's probably not quite that bad,
> but I don't see what BENEFIT you get from moving the rows of tabs.  And
> I see a bunch of disadvantages.
>
> --
> Thomas A. Russ,  USC/Information Sciences Institute

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#4530

From"Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this>
Date2011-04-27 15:51 +0000
Message-ID<4937ac7b$1@news.uni-rostock.de>
In reply to#4529
  To: comp.lang.java.gui,comp.l
stacey schrieb:
> i kind of agree with you, but..
> I ll try an talk to him about it again.
> 
> Still if someone knows how to do it, i would appreciate it if he gave
> me some guidelines.

I think the problem is that you might be able to solve this by implementing your 
own tabbed pane ui but the problem is that you can't solve it for any other L&F 
provided UI.
If you don't mind then try starting to write your own ui for tabbed pane 
starting with:

BasicTabbedPaneUI

especially have a look at
getTabBounds


But again I have to agree with Thomas, that this seems to be a ridiculous 
requirement from your supervisor.

> 
> Thank you again.
> 
> Regards,
> Stacey
>

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#4532

From"John B. Matthews" <john.b..matthews@THRWHITE.remove-dii-this>
Date2011-04-27 15:51 +0000
Message-ID<nospam-5C60FD.10293204122008@nntp.motzarella.org>
In reply to#4530
  To: comp.lang.java.gui,comp.l
In article <4937ac7b$1@news.uni-rostock.de>,
 Stefan Rybacki <noemail@noemail.foobar> wrote:

> stacey schrieb:
> > i kind of agree with you, but..
> > I ll try an talk to him about it again.
> > 
> > Still if someone knows how to do it, i would appreciate it if he gave
> > me some guidelines.
> 
> I think the problem is that you might be able to solve this by 
> implementing your own tabbed pane ui but the problem is that you 
> can't solve it for any other L&F provided UI.
> If you don't mind then try starting to write your own ui for tabbed 
> pane starting with:
> 
> BasicTabbedPaneUI
> 
> especially have a look at
> getTabBounds
> 
> But again I have to agree with Thomas, that this seems to be a ridiculous 
> requirement from your supervisor.

Thomas & Stefan are on target. IIRC, this approach to tabbed panes 
appeared in the MS Word 6 preferences window. It was not well-received. 
Is it possible that your advisor intends for you to investigate this 
aspect of UI programming? If so, you might look at a few existing Look & 
Feel implementations to see how they vary:

<http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/plaf.html>

-- 
John B. Matthews
trashgod at gmail dot com
http://home.roadrunner.com/~jbmatthews/

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web