How do you create a panel?

I haven’t coded in a few months and forgot a lot of basic stuff. I want to know how to create a panel.

function PANEL:init()


function PANEL:paint()


–[[Then there is something that goes here that names and
creates the panel with 3 arguments.
Something(“PanelName”, PANEL, “something”) I think it goes something like that.–]]


[lua]vgui.Register( “PresetEditor”, PANEL, “DFrame” )[/lua]

I found what I need, sorry.

I think you’re looking for this