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

  • SEARCH
  • Home
  • 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 993679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:27:44+00:00 2026-05-16T06:27:44+00:00

Before anything, I should admit that I am completely a newbie about Java Swing.

  • 0

Before anything, I should admit that I am completely a newbie about Java Swing.

I am trying to create an application that lists emails similar to the way that Empathy displays a conversation.

What I want to achieve is like this: http://img69.imageshack.us/img69/5356/emailsx.png

They are going to be clickable.

The thing I have done was getting a JPanel on top of a JScrollPane, making the JPanel have GridLayout and trying to add components dynamically, but it looks plain ugly. Is there a way to do it in Swing or should I resort to using graphical images for the task? Also, how would I fix text placement if I used graphical images?

  • 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-16T06:27:45+00:00Added an answer on May 16, 2026 at 6:27 am

    I had problems with resizing in almost every layout manager. Finally I made something similar by designing a custom JPanel for a message. Then I added this custom JPanel dynamically using GroupLayout for each of the messages.

    For the horizontal layout, I used ParallelGroup; and for the vertical layout, I used SequentialGroup.

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

Sidebar

Ask A Question

Stats

  • Questions 497k
  • Answers 497k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer kire is right, but a better solution for your use… May 16, 2026 at 12:05 pm
  • Editorial Team
    Editorial Team added an answer While it's not necessarily a custom or requirement, standards tend… May 16, 2026 at 12:05 pm
  • Editorial Team
    Editorial Team added an answer DataView.Table returns you the underlying source DataTable, in your case… May 16, 2026 at 12:05 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

strange problem with php on windows... my application loads a 'core' file that loads
I've got a Django-based site that allows users to register (but requires an admin
Just looking for some pointer before I head down the wrong path. I have
I'm building an application for Windows XP using the MinGW tool chain and it
This should be simple, I need to stop any previous version of my program
Now, before you jump at how you shouldn't mix scopes: I realize this. However,
I am trying to use the FxCop build runner in TeamCity (5.1.2) and while
I'm working on a very, very quick and dirty application using almost entirely scaffold
There have been a few questions like this around the place but none have
Every now and then (always after a long period of idle-time, e.g. overnight) when

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.