This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Making Java GUI code open source? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Making Java GUI code open source?" Watch "Making Java GUI code open source?" New topic
Author

Making Java GUI code open source?

stephen fang
Greenhorn

Joined: Mar 02, 2006
Posts: 1
Hi I am a beginner to Java. I was wondering if this was possible.

Say I write a calculator applet to host on my website for other users to use. Can I make just the GUI code open source so users can modify the appearance of the applet and then save the GUI code to their usernames on the web server, so the next time they logon, the changed calculator appearance will be stored on the web server already. However, the core code should remain the same so new users who sign up won't be using some else's Calculator GUI code.
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Hi stephen, welcome to JavaRanch!

Just to clarify what you mean by "open source"...
  • Are you talking about users customizing the app by selecting certain preferences (for example, picking options for background colors, button style, display style, etc.)?
  • Or are you talking about users actually re-writing the Java source code themselves?
  • The second of these is closer to what is typically meant by "open source," but I suspect that you are envisioning the first.

    In any case, much of what you're describing sounds like server-side programming (e.g., servlets), which is significantly more involved than putting an applet on your website. How far along are you? Do you already have a start on this calculator applet?
    [ March 02, 2006: Message edited by: marc weber ]

    "We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
    sscce.org
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Making Java GUI code open source?
     
    Similar Threads
    Remote Desktop Login
    An embedded element management system.
    Java Applet POSTing
    Help with calculator
    Starting a GUI from a web application