Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7409335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:04:08+00:00 2026-05-29T06:04:08+00:00

I want to create a print preview for a variable-size set of images in

  • 0

I want to create a print preview for a variable-size set of images in Java. My first approach (in dev mode) was to create snapshots of the images in different JLabels (just as a quick developer solution).

But for the production solution I need to create a more efficient and elegant way to display the images for the user of this standalone software. So I was thinking in showing him maybe 7-8 snapshots of the images to be printed on each JLabel.

Is there another way to do this? (Speaking of Java GUI components)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T06:04:08+00:00Added an answer on May 29, 2026 at 6:04 am

    You can store these Images in some sort of List<Image>, such as ArrayList<Image>. Please read the Graphics2D tutorial, which contains related examples. There are other examples here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create multiple versions of print-friendly pages from a single page. I
I'm trying to create a print statement that can print any type. I want
I have an action which create QMessageBox. In that dialog I want to print
We have a WPF application that has a print preview dialog. When we create
I want to create a software which can accept Print Jobs from other computers,
I want to create a pdf of first 300 orders in magento. I want
I want to create such object in Java that will contain some dispatcher function
I want to create a django app that can upload and display images. However
I want to create an LLDB alias ps, such that ps foo becomes print
I want create a simple graphical (Qt, Gtk, ...) dialog, concretly a simple print

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.