How to use GUI in c language?Which is best GUI for c?

Does Java Swing use native OS GUI?

  • I know that Swing is platform independent. But JFrame running on Windows is different from one running on Mac OS or Linux. E.g. Windows has the standard red X close button, and Mac OS has those colorful circles. So, why doesn't JFrame have its own Look-and-Fell like other Swing components? Is it because it uses AWT to communicate with native OS GUI? If so, why isn't JFrame an AWT component? I am sorry if I am asking a stupid question, I am only a beginner... Thanks:)

  • Answer:

    One way or another, everything has to work on the OS it's being executed in. In windows you need a window to get a canvas (device context) to draw on.The other buttons are probably using windows functions on windows (namely the windows gdi) to draw stuff too. I don't think it's a big issue, and it's certainly not a stupid question.

ironvita... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.