• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GUI

 
Kim Lauwers
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

A little question about the URLyBird assignment.

- The assignment doesn't say you must be able to add a record, but my DBAccess interface has the method to create one. Do you guys implement it, or just put in choices.txt that it was out of scope.

- For updating, removing, ... a certain record. Is the only view you guys have is the JTable? Or do you create a nice form for updating a certain record?

Thanks in advance.

Greetings,
Kim
 
Jeffry Kristianto Yanuar
Ranch Hand
Posts: 759
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good questions friend. I created 2 buttons for booking and for searching.

regarding the other method, you just implement ir but no need to use it in the GUI.

Even you don't use it, make sure that all the method in the interface is implemented successfully.

Hope that helps.

Jeffry Kristianto Yanuar (Java Instructor)
SCJP 5.0, SCJA, SCJD (UrlyBird 1.3.2) --> Waiting for the result
 
Kim Lauwers
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you,

I probably will only support update and search on the GUI, but implement the complete back-end.

Greetz,
Kim
 
Jeffry Kristianto Yanuar
Ranch Hand
Posts: 759
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Additionally, I create my own interface that extends the interface provided in the assignment and provide 2 additional methods : booking and searching.

Good Luck

Jeffry Kristianto Yanuar (Java Instructor)
SCJP 5.0, SCJA, SCJD (UrlyBird 1.3.2) --> Waiting for the result
 
jin Young
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Jeffry,
I have a question, thanks a lot.

The mothods in DBMain interface mostly throws RecordNotFoundException.So it can not be used for Remote interface.
Even if you extends the DBMain interface, you still can not throws RemoteException, and can not used as remote interface.
It's a puzzle to me.

Thanks again.
 
Jeffry Kristianto Yanuar
Ranch Hand
Posts: 759
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by jin Young:


The methods in DBMain interface mostly throws RecordNotFoundException.So it can not be used for Remote interface.
Even if you extends the DBMain interface, you still can not throws RemoteException, and can not used as remote interface.
It's a puzzle to me.

Thanks again.



Do you have a book titled "SCJD Exam with J2SE" ? In that book, it covers how to throw exception that didn't provided by the interface.

Since I used plain socket, the Remote exception was not my issue. You can ask someone else but I bet most of them used technique described in that book. right now, the book is not on my hand so I can't tell you how to solve that problem.

Thanks

Jeffry Kristianto Yanuar (Java Instructor)
SCJP 5.0, SCJA, SCJD (UrlyBird 1.3.2) --> Waiting for the result
[ November 27, 2008: Message edited by: Jeffry Kristianto Yanuar ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic