Creating own GLRC

I have some troubles with juce::OpenGL* stuff, and I would like to create my own rendering context in a juce::Component.
Is there a way to do this ?