Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

How to get input from user and send the same to an ireport that has the parameter using SWING?

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am stuck up with this simple code.. how to get input from user and send the same to an ireport that has the parameter. Please help as am not able to get any idea..!! Iam using Eclipse and the code works fine by generating the report. But as you can see the parameters are hard-coded viz., param.put("Sys_Invoice_No","SLF02S0011010000007"); But i want to get the input from user and insert that into the ireport designed using a simple swing input application.
The code is as follows..



Please help with the code..
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when you post in multiple forums, your problems are likely to be ignored

http://stackoverflow.com/questions/11806519/how-to-get-input-from-user-and-send-the-same-to-an-ireport-using-swing-applicati
 
Been there. Done that. Went back for more. But this time, I took this tiny ad with me:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!