This is not a Java issue unless you're really confused and by "page" you mean "window" or "frame".
Assuming you are thinking of JavaScript instead of Java, here is how to do it:
Copied from:
stackoverflow
<script type="text/javascript">
window.onload = maxWindow;
function maxWindow() {
window.moveTo(0, 0);
if (document.all) {
top.window.resizeTo(screen.availWidth, screen.availHeight);
}
else if (document.layers || document.getElementById) {
if (top.window.outerHeight < screen.availHeight || top.window.outerWidth < screen.availWidth) {
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
}
</script>
The slideshow can be done with JavaScript and DOM(Document Object Model) manipulation. Learn about
JavaScript and
DOM from
w3schools. If you learn those things, similar problems that can come up later can be solved by you independently.