Beginner to Swing

后端 未结 6 1790
难免孤独
难免孤独 2021-01-12 08:33

I\'d like to create a simple Swing app. I\'ve got very, very, very little experience with Swing, however. I want to create a one window app that refreshes every 5 minutes

6条回答
  •  长情又很酷
    2021-01-12 09:04

    In a Swing context, javax.swing.Timer has some advantages; there's an example here. Depending on what you want to display, JEditorPane may be appropriate.

提交回复
热议问题