11 Replies - 381 Views - Last Post: 30 November 2012 - 11:54 AM Rate Topic: -----

#1 jimmystocco  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 07-June 12

java user interface eclipse database

Posted 29 November 2012 - 09:21 AM

I have a SQL code(oracle), and now I want to code something in java to work as a user interface.(which means the user will be able to select what he wants to do(insertion,update,etc) just using a window with the options and a field do write the data he wants to insert,update,etc...

Does anyone know about an easy tool to do it?
I'using Eclipse SDK Version: 4.2.0

Thanks in advance!
Is This A Good Question/Topic? 0
  • +

Replies To: java user interface eclipse database

#2 Kinaces  Icon User is offline

  • D.I.C Head

Reputation: 78
  • View blog
  • Posts: 230
  • Joined: 04-October 12

Re: java user interface eclipse database

Posted 29 November 2012 - 10:10 AM

You would need to use the JDBC to connect to a database.
JDBC
Was This Post Helpful? 0
  • +
  • -

#3 darek9576  Icon User is offline

  • D.I.C Lover

Reputation: 198
  • View blog
  • Posts: 1,693
  • Joined: 13-March 10

Re: java user interface eclipse database

Posted 29 November 2012 - 10:16 AM

If your table represents objects - you can use an ORM, so that you dont have to deal with the SQL syntax.
Was This Post Helpful? 0
  • +
  • -

#4 Allophyl  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 2
  • View blog
  • Posts: 67
  • Joined: 09-August 10

Re: java user interface eclipse database

Posted 29 November 2012 - 01:07 PM

If you're talking about using a GUI and are looking for a tool to help you create that, there's WindowBuilder Pro, which I believe can work with both Swing and SWT. It's one of the plugins available by default from Eclipse's update servers. Just go to Help->Install new Software and it's under General Purpose Tools
Was This Post Helpful? -1
  • +
  • -

#5 jimmystocco  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 12
  • Joined: 07-June 12

Re: java user interface eclipse database

Posted 29 November 2012 - 07:47 PM

Thank you guys!
Was This Post Helpful? 0
  • +
  • -

#6 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8346
  • View blog
  • Posts: 31,910
  • Joined: 06-March 08

Re: java user interface eclipse database

Posted 29 November 2012 - 07:50 PM

View PostAllophyl, on 29 November 2012 - 04:07 PM, said:

If you're talking about using a GUI and are looking for a tool to help you create that, there's WindowBuilder Pro, which I believe can work with both Swing and SWT. It's one of the plugins available by default from Eclipse's update servers. Just go to Help->Install new Software and it's under General Purpose Tools

Not really a good idea
This GUI generator will generate horrible GUI layout that you won't be able to handle
Write your own GUI, it is not that difficult.
Was This Post Helpful? 0
  • +
  • -

#7 Allophyl  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 2
  • View blog
  • Posts: 67
  • Joined: 09-August 10

Re: java user interface eclipse database

Posted 29 November 2012 - 08:48 PM

View Postpbl, on 29 November 2012 - 10:50 PM, said:

View PostAllophyl, on 29 November 2012 - 04:07 PM, said:

If you're talking about using a GUI and are looking for a tool to help you create that, there's WindowBuilder Pro, which I believe can work with both Swing and SWT. It's one of the plugins available by default from Eclipse's update servers. Just go to Help->Install new Software and it's under General Purpose Tools

Not really a good idea
This GUI generator will generate horrible GUI layout that you won't be able to handle
Write your own GUI, it is not that difficult.

I didn't say it was a good idea. The original poster said they were looking for tools to help them build the UI. That's a tool that will help you do that. I don't personally advocate its use, but I'm not going to push that philosophy on people and if someone is specifically asking for one I'll give them an answer.
Was This Post Helpful? -1
  • +
  • -

#8 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8346
  • View blog
  • Posts: 31,910
  • Joined: 06-March 08

Re: java user interface eclipse database

Posted 29 November 2012 - 10:12 PM

Don't care
I have 7265 +1 to exchaneg with your's 7 or 8 ones
and as I am a man of principles, you'll lots :)
Was This Post Helpful? -1
  • +
  • -

#9 Allophyl  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 2
  • View blog
  • Posts: 67
  • Joined: 09-August 10

Re: java user interface eclipse database

Posted 30 November 2012 - 10:26 AM

View Postpbl, on 30 November 2012 - 01:12 AM, said:

Don't care
I have 7265 +1 to exchaneg with your's 7 or 8 ones
and as I am a man of principles, you'll lots :)/>/>

If you want to wave your e-peen around and be that petty, be my guest. I answered the OP's question. You're just being extremely petty.

This post has been edited by Allophyl: 30 November 2012 - 10:36 AM

Was This Post Helpful? 0
  • +
  • -

#10 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10807
  • View blog
  • Posts: 40,287
  • Joined: 27-December 08

Re: java user interface eclipse database

Posted 30 November 2012 - 10:32 AM

Let's get things back on topic please. Personal attacks will not be tolerated.
Was This Post Helpful? 1
  • +
  • -

#11 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8346
  • View blog
  • Posts: 31,910
  • Joined: 06-March 08

Re: java user interface eclipse database

Posted 30 November 2012 - 11:38 AM

View PostAllophyl, on 30 November 2012 - 01:26 PM, said:

I answered the OP's question. You're just being extremely petty.

with a very bad suggestion :)
Was This Post Helpful? 0
  • +
  • -

#12 Allophyl  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 2
  • View blog
  • Posts: 67
  • Joined: 09-August 10

Re: java user interface eclipse database

Posted 30 November 2012 - 11:54 AM

View Postpbl, on 30 November 2012 - 02:38 PM, said:

View PostAllophyl, on 30 November 2012 - 01:26 PM, said:

I answered the OP's question. You're just being extremely petty.

with a very bad suggestion :)/>

In YOUR opinion. Sometimes people just want a quick and dirty way to do something, which that is. Sometimes they're not worried about reusability, and sometimes it's a one-off thing so they don't want to take the time to actually learn Swing or SWT. Sometimes they *do* want to learn and it's easier to look at how the builder does things than it is to learn every single thing from a Javadoc. Sometimes they want to code it by hand but use the GUI builder to check out what the UI looks like without recompiling and running the program every time.

In YOUR opinion, *any* tool to help build a UI would be a very bad suggestion. But that's what the OP was asking for so that's the answer I gave, and as I've just demonstrated, there are many good reasons they could have for wanting that. Perhaps you'd prefer that I ignore that possibility and instead give a lecture they weren't looking for. But I'm in the business of actually being helpful and giving useful answers, not of lecturing and preaching dogma.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1