• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

[Java] JSwing Comobox

Joined
Jun 30, 2008
Messages
1,145 (0.20/day)
Location
England
System Name Wasleys PC
Processor Intel i5 2400 3.10GHz
Motherboard Asus P8z68-V
Cooling AC Freezer Pro
Memory Kingston 4GB (2x2GB) DDR3 Hyperx Memory
Video Card(s) HIS ATi 6850 1GB DDR3
Storage Seagate ST3500320AS 500GB Hard Drive SATA II 7200rpm *32MB Cache*
Case Antec 900 with mods
Audio Device(s) On Board
Power Supply OCZ Stealth Xtream 500W
Software Windows 7
Hi all,

Let me give you a bit of background before I waffle on....

I have an SQL database which has the column "Case Status".

Users can submit new tickets and are prompted to select a "Case Status" from a drop down JSwing combo-box.

The new data is submitted to the database using PreparedStatements. As the "Combo-box" isn't classed as a String, how would I update it?

Cheers chaps!
 
Last edited:
Joined
Jun 30, 2008
Messages
1,145 (0.20/day)
Location
England
System Name Wasleys PC
Processor Intel i5 2400 3.10GHz
Motherboard Asus P8z68-V
Cooling AC Freezer Pro
Memory Kingston 4GB (2x2GB) DDR3 Hyperx Memory
Video Card(s) HIS ATi 6850 1GB DDR3
Storage Seagate ST3500320AS 500GB Hard Drive SATA II 7200rpm *32MB Cache*
Case Antec 900 with mods
Audio Device(s) On Board
Power Supply OCZ Stealth Xtream 500W
Software Windows 7
[Edit ] Darn. Thought I fixed it.

[Edit ] Woohoo. Fixed.
 
Last edited:
Top