I want to create an application that uses a shipping calculator on an external web page (http://www.bring.no/page?id=4994) to calculate a shipping.
The scenario will be that a user will fill out the fields, then he will have to submit, which will use the page’s shipping calculator, then get the value (the shipping fee).
So basically what I want to make is a swing application that looks similar to the existing shipping calculator, pass arguments to it, and retrieve the result.
I have no idea how to do this. So any tips or hints would be highly appreciated! 🙂
Look at Apache HttpClient for communicating with websites and webservices from your Java Swing application.
You have to do an
HTTP POSTwith the field names on the web page.