I get a lot of questions on how to paint the U-paint mdf shelves. The best way to get a professional job is of course to hire a professional. If you decide to be your own painter, you can probably get good results if you are willing to work for it and follow the same steps a pro would take.
Like so many things in life, good prep is the key to a successful finish. Anna has done a fantastic job of covering the bases: