Results 1 to 2 of 2
  1. #1
    sandor is offline Member
    Join Date
    Apr 2007
    Location
    Pennsylvania,USA
    Posts
    45
    Rep Power
    0

    Default tabbing within a swing app

    I have an old swing application where I need to change the tabbing order to something rather special for the users. Any ideas? It involves a lot of if then else business logic.
    any suggestions?

  2. #2
    pegitha is offline Member
    Join Date
    Apr 2007
    Location
    Indiana
    Posts
    83
    Rep Power
    0

    Default

    I know it is probably not easy to attach your swing code but without seeing anything all I can tell you is that I had a similar issue and I created a new class that overrode the LayoutFocusTraversalPolicy class. Inside this I applied all the if/then/else business logic and then in the screen class I set the jPanel.setFocusTraversalPolicy(myTravelsalPolicy). anyway, that is the short and sweet of it. There is a lot more to it than that but start there.

Similar Threads

  1. AWT or Swing
    By bugger in forum AWT / Swing
    Replies: 4
    Last Post: 11-22-2007, 09:44 AM
  2. where is the swing jar?
    By katie in forum AWT / Swing
    Replies: 1
    Last Post: 08-06-2007, 10:58 PM
  3. map javax.swing.text.Element to javax.swing.text.View
    By elizabeth in forum New To Java
    Replies: 1
    Last Post: 07-30-2007, 07:02 PM
  4. swing?? why use it
    By javaforme44a in forum AWT / Swing
    Replies: 3
    Last Post: 07-18-2007, 07:51 AM
  5. Applet tabbing issue
    By pegitha in forum Java Applets
    Replies: 2
    Last Post: 04-28-2007, 10:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •