[go: up one dir, main page]

Menu

#1 Add hover text on all non-intuitive fields

open
nobody
4
2010-08-11
2008-07-16
No

headings for fields that are not obvious should include hover text to describe the field

Discussion

  • Jonathan Baker

    Jonathan Baker - 2008-07-30
    • priority: 1 --> 5
     
  • Jonathan Baker

    Jonathan Baker - 2008-09-04
    • priority: 5 --> 3
     
  • Jonathan Baker

    Jonathan Baker - 2008-10-06
    • labels: --> 1152788
     
  • Jonathan Baker

    Jonathan Baker - 2008-10-06
    • labels: 1152788 --> 1100526
     
  • Jonathan Baker

    Jonathan Baker - 2008-10-06
    • priority: 3 --> 4
     
  • Jonathan Baker

    Jonathan Baker - 2008-12-10

    Jim, can you investigate this and let us know what the best approach will be? I suspect that we can take an approach similar to internationalization here and utilize a resource with all our hover text in it. i know netbeans has some support for automatically extracting strings for internationalization. Will that work for us or is there a better approach?

     
  • Jonathan Baker

    Jonathan Baker - 2008-12-10
    • assigned_to: nobody --> jimwinston
    • labels: 1100526 --> Medium level of effort
     
  • Jonathan Baker

    Jonathan Baker - 2008-12-10
    • priority: 4 --> 6
     
  • Jim Winston

    Jim Winston - 2008-12-12

    Using Java internationalization is reasonable if our goal is to put the hover text in a properties file. Other than easing full internationalization, I don't see any particular reason to internationalize only the tool tips. Why is the hover text different from the labels and button labels?

    That said, internationalization is pretty easy, and netbeans makes it easier. The following code was generated by using the Tools->Internationalization->Internationalize... dialog . (I added the comments)

    // This finds and loads a file in your classpath called RT.properties
    java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("RT");

    // This sets a button label to be the value matching the key "Add" in RT.properties
    btnAdd.setText(bundle.getString("Add"));

    // This sets the hover text of a button to be the value matching the key "Add_Comment_To_List" in RT.properties
    btnAdd.setToolTipText(bundle.getString("Add_Comment_To_List"));

    I expect it wouldn't take very long to use the netbeans tools to internationalize our entire GUI.

     
  • Nobody/Anonymous

    Jon and I came to the conclusion that there isn't really a benefit to storing the hover text in a properties file. If such a benefit makes itself known (such as non-developers changing the text), it is easy enough to use Netbeans to do it at that time.

    We still need to add the hover text, though.

     
  • Jim Winston

    Jim Winston - 2008-12-15

    I added the last comment. I didn't realize I wasn't logged in.

     
  • Jim Winston

    Jim Winston - 2008-12-15
    • assigned_to: jimwinston --> nobody
     
  • Jonathan Baker

    Jonathan Baker - 2009-02-27
    • summary: Add hover text an all non-intuitive fields --> Add hover text on all non-intuitive fields
     
  • Jonathan Baker

    Jonathan Baker - 2009-03-03
    • assigned_to: nobody --> jonathanobaker
     
  • Jonathan Baker

    Jonathan Baker - 2009-03-03
    • priority: 6 --> 7
     
  • Jonathan Baker

    Jonathan Baker - 2009-11-23
    • assigned_to: jonathanobaker --> nobody
     
  • Bryan Worrell

    Bryan Worrell - 2010-06-07
    • assigned_to: nobody --> danmitch
     
  • Jonathan Baker

    Jonathan Baker - 2010-08-11
    • priority: 7 --> 4
    • assigned_to: danmitch --> nobody
     

Log in to post a comment.