简体   繁体   English

使用Eclipse在Java中使用Windows应用程序

[英]windows app in java using eclipse

I want to write a fairly basic database application to run in Windows (not console) using the Eclipse IDE. 我想编写一个相当基本的数据库应用程序,以使用Eclipse IDE在Windows(而不是控制台)中运行。 I have been googling most of the day and my head is spinning having downloaded GWT, SDKs, Tomcat and heaven knows what else. 我一天中大部分时间一直在搜索,下载了GWT,SDK,Tomcat和Heaven之后,我的头都在旋转。 I am still confused and have yet to find a basic step by step tutorial that does not leave me hanging in the air. 我仍然很困惑,还没有找到一个基本的分步教程,不会让我望而却步。 I hope someone else has gone through this process and found a useful tutorial. 我希望其他人可以完成此过程并找到有用的教程。

When I first started to develop a visual application in Java that would query a database, I bought the book Swing Hacks. 刚开始用Java开发可视化应用程序来查询数据库时,我买了《 Swing Hacks》一书。 It has a good example of how to query a database and load it to a jtable. 它有一个很好的示例,说明如何查询数据库并将其加载到jtable。 I think the link I'm pasting below has enough to get you started and it has some example code. 我认为我下面粘贴的链接足以让您入门,并且包含一些示例代码。

Here's a link to that section of the book with the source code they use. 这是本书该部分的链接,以及它们使用的源代码。

Swing Hacks, Loading data from a database Swing Hacks,从数据库加载数据

If you want to develop a simple DB application, then you don't really need GWT. 如果您想开发一个简单的数据库应用程序,那么您实际上并不需要GWT。 You don't need Tomcat either. 您也不需要Tomcat。 I would start by downloading the Eclipse IDE, and MySQL. 我将从下载Eclipse IDE和MySQL开始。 Once you have these installed you may want to come back and ask more specific questions if you run into difficulties. 一旦安装了这些工具,如果您遇到困难,则可能要回来询问更具体的问题。

Some links that may help you here, I just googled 'database application eclipse'. 有些链接可能对您有帮助,我只是在Google搜索“数据库应用eclipse”。

link1 link2 链接1 链接2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM