This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating an Application  RSS feed

 
william keelman
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to programing and Java. I created this awesome Java program that makes webpages using html...right now it is texted based (works from cmd)...could you please tell me how to make it into an application...Also, If this is posted in the wrong area...please feel free to move it...
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Make it into an application?" Do you mean "Give it a graphical interface?"
 
william keelman
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes I do
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the AWT/Swing/GUI forum.
 
Campbell Ritchie
Marshal
Posts: 55717
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will have to find a book about Java with GUIs in, which means most of the big textbooks,
OR,
the Swing pages in the Java tutorial.
It is not difficult, but will be time-consuming because there are so many classes to learn.
Note that some of the books use "addActionListener(this)," which I dislike, as you will find if you read this thread, or find the thread "frame listeners vs. button listeners" which it quotes.

I have tried to explain why I dislike it, and how to use a new class or the anonymous inner class for event handling.

You will find some Swing classes use float, some double and some int for their parameters or return types, which can be a bit confusing. But good luck, a week or two of intensive work and you will be back here helping other people with their GUI problems!

CR
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!