2

I am learning to put GUI in Java, now what I want to ask is, should I learn to put the GUI code by myself or should I go for drag and drop method? Which one is preferred and good for me?

7
  • 1
    Well that depends, but if you're just learning why not use the UI designer and look at the code it generates for you and how it works. Commented Aug 18, 2017 at 10:31
  • 1
    learn to put the GUI code Commented Aug 18, 2017 at 10:32
  • 1
    Just drag and drop and do the custom in the code that is the best way. For example if you drag and drop list view it will not a proper one you have to set over scroll and other things manually Commented Aug 18, 2017 at 10:35
  • 1
    Im not used to Java GUI. But I use drag and drop in .NET to generate standard code that I alter to my own likings. Commented Aug 18, 2017 at 10:35
  • 1
    @Badr Once you have found an answer which works for you, please click the tick next to that answer to accept it. This helps other people with your problem know which solution worked for you. Commented Aug 18, 2017 at 10:43

1 Answer 1

1

As a beginner, it is recommended to experiment with the GUI by dragging and dropping and inspect the code that is produced.

As an expert, it a much more common practice to code the GUI as you can control many finer details using code instead of manual dragging and dropping.

Sign up to request clarification or add additional context in comments.

1 Comment

Got it, Thank you .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.