How to add a border to layout?

How to put grid layout in the west part of a border layout java?

  • i want to put a grid layout in the west part of my border layout in my frame how can i do that?

  • Answer:

    Place a component (such as a JPanel) in the west portion, and then set that component's layout to Border Layout.

Yasy at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.