So, I created some code in a jpanel. Is it possible to display just this panel or do I need to put it into a form.

Either way, how would I go about doing it?

look up JFrame.

frame.add(panel);

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.