The choice you get is AWT, which uses native toolkits and will "fit in" with whatever system the program is run on, or Swing which looks the same wherever it goes and was essentially part of Sun's attempt to convince everyone they should all use a Java OS.
Nowhere do you use the cross platform capability; Sun would never let that happen since in the beginning it was one of their main marketing points.