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 9065387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:29:18+00:00 2026-06-16T16:29:18+00:00

Friends! I want to create a simple schedule event calendar like this one Question:

  • 0

Friends!

I want to create a simple schedule event calendar like this one

enter image description here

Question: What can i use in Swing/AWT hiearchy in order to have such flexible grid.

P.S I was trying to do some solution in JTable direction with Custom CellRenderers but it was ugly. Maybe it can be something like JPanel-in-JPanel solution? What do you think?

  • 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-06-16T16:29:21+00:00Added an answer on June 16, 2026 at 4:29 pm

    This is not a simple solution and you have any number of options…

    Because the content can expand over multiple rows, JTable isn’t really a viable solution (there’s probably any number of ways to do it, but each will become more complicated over time…and any solution I’ve seen doesn’t take into account the current Look and Feel).

    But if you’re interested, you could take a look at

    • spantable (haven’t used)
    • JTable Examples (haven’t used)

    You other choice would be to create a custom component capable of rendering the data model.

    I, personally, would focus on an individual column, allowing it to be it’s panel. With a custom layout manager, you could layout additional components based on the requirements of the data model.

    Once you have that figured out, you would be able to expand the concept to allow for multiple rows.

    This allows you greater flexibility in how the individual components are laid out and rendered, but is quite complex.

    I would take a look at How to use Scroll Panes so you can see how row and column headers work 😉

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

Sidebar

Related Questions

hello friends i want to use toggle on <li> when one <li> is open
I want to create a simple Mario-like 2D game. Nothing too fancy, just a
I want to create a friends system (something like in facebook). I want to
Hi friends i want to create a view in that I can add texts
I want to create something like the Find my Friends app, in terms of
I want to create a table of friends with personal information and log on
I am trying to create a simple alert app for some friends. Basically i
Friends I want to create a xml file in my android app where I
this is more theoretical question. I have written simple chat with my friend. We
I have models of one of my projects set up to something like this

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.