for jcomponent its like this ... even u set the border to emptyborder the borderwill always appear. if u do componet.setBorder(null) then the border won't bedisplayed.This might be applicable for frames. i have'nt tried , if u try let me know.