Are you looking at a desktop application or a web based application?
For a desktop based application, you should start looking a swing or javafx to get started with the basic ideas and the move along.
For web application, it is a bit more complicated for a beginner. I suggest you to start with spring examples and then implement the front end with the help of some javascript library. Like JQuery, Dojo and Draw2D etc.