LWJGL Texture with Non-Scaled Border

I’m trying to develop a GUI system, using quads. I can render out the quads fine, but I’m having a problem with texturing them. I would like to have a texture that has a 1 or 2 pixel border around it. When I scale this image, I would like the border to not scale, however have the pixels inside the border be scaled. I have looked at the various glTexture methods, and my search through google has not helped me.

An example of this kind of thing is found in the Unity3D game engine, where when loading an image, you can specify how thick your border is, and it will not scale that part of the border.

Any help is greatly appreciated,
Mapboy