爪哇 - 控制台类似Web小型应用程序 [英] Java - Console-like web applet
问题描述
我一直在开发中使用Java的Windows控制台应用程序,并希望把它在网上所有的控制台的图形荣耀。
Hey, I've been developing an application in the windows console with Java, and want to put it online in all of its console-graphics-glory.
有一个简单的Web小型应用程序的API我可以用我的端口上的应用程序?
Is there a simple web applet API I can use to port my app over?
我只是使用基本System.out和System.in功能,但我很高兴重建我的I / O包装。
I'm just using basic System.out and System.in functionality, but I'm happy to rebuild my I/O wrappers.
我觉得东西沿着这些路线将是一个巨大的资产,谁想要把自己的在线工作开始的任何Java开发人员。
I think something along these lines would be a great asset to any beginning Java developers who want to put their work online.
推荐答案
当然,仅仅做成一个小程序,把一个小的摆动UI上它与JFrame中有两个组成部分 - 一个用于写输出,以及一个用于输入的输入从。嵌入小程序在页面中。
Sure, just make into an applet, put a small swing UI on it with a JFrame with two components - one for writing output to, and one for entering inputs from. Embed the applet in the page.
这篇关于爪哇 - 控制台类似Web小型应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!