This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes everything is string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply locked New topic
Author

everything is string

Mohamad Samy
Ranch Hand

Joined: Apr 26, 2013
Posts: 98
hi
I've made a jtable with row contains some combobox and textfields using the default table model but every thing appears as strings after compiling.
I don't know what is the problem
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41626
    
  55
What does "but every thing appears as strings"? What is "everything"? TellTheDetails.


Ping & DNS - my free Android networking tools app
Mohamad Samy
Ranch Hand

Joined: Apr 26, 2013
Posts: 98
for ex.
i declared the row data for the table to have text field and two comboboxes side by side but when compiling the program those components appear as strings not comboboxes. i used the default model and layed the table on the frame uaong the grouplayout
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41626
    
  55
I guess we would have to see a relevant excerpt of your code to understand what is going on.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38509
    
  23
Taking the liberty of closing this thread as a duplicate of this one.
 
Don't get me started about those stupid light bulbs.
 
subject: everything is string