err... 1st - do NEVER (ever) mix up java and javascript, they've nothing to do with each other 😉
the rest is simple: just open your php page, that displays the results with a JavaScript function. something like:
window.open( 'results.php', 'results', 'height=400,width=400' );
should do...