Click here to Skip to main content
15,900,725 members
Home / Discussions / Java
   

Java

 
Questionembed an excel sheet into a java GUI Pin
kartikdasani1-Jun-11 21:43
kartikdasani1-Jun-11 21:43 
AnswerRe: embed an excel sheet into a java GUI Pin
Wyne Ci1-Jun-11 22:33
Wyne Ci1-Jun-11 22:33 
AnswerWow, That's Hell Pin
Johnny Ess22-Jun-11 7:12
Johnny Ess22-Jun-11 7:12 
AnswerRe: embed an excel sheet into a java GUI Pin
kikeri16-Aug-11 14:08
kikeri16-Aug-11 14:08 
QuestionAdding text to an existing file or create it if not existant Pin
Matjaz-xyz1-Jun-11 21:11
Matjaz-xyz1-Jun-11 21:11 
AnswerRe: Adding text to an existing file or create it if not existant Pin
TorstenH.2-Jun-11 12:59
TorstenH.2-Jun-11 12:59 
AnswerRe: Adding text to an existing file or create it if not existant Pin
lanmingle5-Jun-11 0:03
lanmingle5-Jun-11 0:03 
QuestionSelecting between base class and interface method... Pin
faheemnadeem29-May-11 8:01
faheemnadeem29-May-11 8:01 
Hi,
I have a class "worldstore" that is derived from "Service" class and implements interface "ILamp".
I have a method called "getState" in ILamp interface which returns a "boolean" and another method is available with the same name in "Service" base class which returns an "int".

While implementing the methods of the interface in "worldstore" class, I get an error when implementing "getState" from ILamp. Whereby, eclipse detects it to belonging to the base "Service" class rather than that of the ILamp interface, and therefore asks me to change the return type to boolean.

All i want is to implement the "getState" method from the interface.

Any solutions please... I am using java 1.6

Thanks.
AnswerRe: Selecting between base class and interface method... Pin
Luc Pattyn29-May-11 8:40
sitebuilderLuc Pattyn29-May-11 8:40 
GeneralRe: Selecting between base class and interface method... Pin
faheemnadeem29-May-11 9:04
faheemnadeem29-May-11 9:04 
GeneralRe: Selecting between base class and interface method... Pin
faheemnadeem29-May-11 9:05
faheemnadeem29-May-11 9:05 
AnswerRe: Selecting between base class and interface method... Pin
Luc Pattyn29-May-11 9:11
sitebuilderLuc Pattyn29-May-11 9:11 
GeneralRe: Selecting between base class and interface method... Pin
faheemnadeem29-May-11 9:26
faheemnadeem29-May-11 9:26 
AnswerRe: Selecting between base class and interface method... Pin
Luc Pattyn29-May-11 9:34
sitebuilderLuc Pattyn29-May-11 9:34 
GeneralRe: Selecting between base class and interface method... Pin
jschell29-May-11 9:23
jschell29-May-11 9:23 
GeneralRe: Selecting between base class and interface method... Pin
faheemnadeem29-May-11 10:12
faheemnadeem29-May-11 10:12 
GeneralRe: Selecting between base class and interface method... Pin
jschell30-May-11 5:50
jschell30-May-11 5:50 
QuestionImgien Pin
lmgien26-May-11 7:06
lmgien26-May-11 7:06 
JokeRe: Imgien Pin
Gerben Jongerius26-May-11 20:03
Gerben Jongerius26-May-11 20:03 
AnswerRe: Imgien Pin
TorstenH.27-May-11 1:24
TorstenH.27-May-11 1:24 
AnswerRe: Imgien Pin
Thomas Krojer29-May-11 21:53
Thomas Krojer29-May-11 21:53 
AnswerRe: Imgien Pin
Luc Pattyn29-May-11 23:32
sitebuilderLuc Pattyn29-May-11 23:32 
Question**help** Pin
moein136825-May-11 17:39
moein136825-May-11 17:39 
AnswerRe: **help** Pin
David Skelly25-May-11 21:56
David Skelly25-May-11 21:56 
AnswerRe: **help** Pin
Richard MacCutchan25-May-11 22:54
mveRichard MacCutchan25-May-11 22:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.