All:
I'm making that front panel power switch mod and I have a small
9v wall wart that I pulled apart, and a 9v relay. I want to encapsulate the
whole thing in a box. I don't know much about potting compounds - what would
be the best compound for this application?
I wouldn't do that. Why make it impossible to repair later? Personally,
I'd take a matal box, screw the transformer and relay to the inside, use
tagstrip or striboard to mount the smaller components. Connect the box to
mains earth and run the cables through grommets in the sides.
Then, if something fails later, it'll be easy to put right.
-tony