Hello.
I have a piece of code currently where I have a JFrame that I have removed the title bar and borders etc from using .setUndecorated(true). I have tried a number of ways with no success to make this window draggable by it's client area.
JFrame f = new JFrame("New Frame");
f.setUndecorated(true);
f.setVisible(true);
f.setBounds(0, 0, 400, 400);
What I want in the end is to have a window that has a no-title bar etc so that I can create the frame from scratch and I would like it to be dragged by just clicking anywhere on the window and be resized by dragging the edges of the frame.
Can anyone give me any examples, advice or point me in the right direction please?
Cheers.