Jump to content
  • Advertisement
Sign in to follow this  

Two Java Noob questions

This topic is 4718 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ive been making stuff with C++ for years and sometimes used Java (made a simple IRC like chat-system). Anyway I'm going to make a simple IDE. Q1: What Swing class to use for a (Swing UI) list of files? You know the typical IDE project browser. Basically what I want is something like JTextArea but where the user can't select anything but whole lines and when right-clicking on a file brings up a menu (see Q2. Icons would be nice too. Any suggestions? Q2: Is there a floating-menu swing class? Basically what I want is a button with an icon (I have a few tutorials on 2D graphics in Java so no problem there) and when the user presses such a button the app should bring up a menu that is on top of the rest of all Swing components. Like the typical "File Edit View" et.c. menu bar at top but with icons instead of text. Would appreciate all help!

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!