Think of a program you'd like to have or code. A lot of people start with a simple calculator. Maybe start it without Swing, make it modular, write some tests for it, then add the GUI after that. But any project that interests you would be good to start with as long as it's not too involved.
All things are lawful, but not all things are profitable.