how can i simulate an table which can be overlook?

i m making a billiards game

1 i want to simulate a table, the tabletop has friction so balls can run on it

2 here, i make for rectangle surround the balls so it wont go out, i use damping

can i make 1 using box2d?

and what's difference between damping and friction?

Original thread: https://box2d.org/forum/viewtopic.php?t=3915