14

I'm new into Java and tried creating a simple GUI.

Took me about 3 hours until i've found out that I must put a JTextArea into a JScollPane and not the other way around to display the textarea with a working scrollbar.

I love this already.

(I'm also a new devRant user, so... Hey :] !)

Comments
  • 1
    Welcome to devrant! Hope you'll like it here :)
    What are you building? Or just playing around with it?
  • 5
    Wow... Swing? They still include that in the jdk? :)
  • 4
    May the python gods be with you
  • 3
    Check out JavaFX I think it's more intuitive than swing.
  • 0
    Thanks for the welcome and information. I'm making a small text adventure game.

    And yes, swing is still inuded haha :p
    I also heard thatJavaFX is better.
    I'll check JavaFX out as soon as I'm done with this small project :).
  • 1
    I came from WPF but building some Android apps... Those XML layouts... Oh God... Very hard to get things the way I want them....

    relative, linear, weights, width=0... Now it's off the screen... Gah... Screw it...
Add Comment