|
I'm a newbie to swing development.
I have a swing app that needs to access data from a remote sql database. The users of the app are all located in our office.
Is it bad practice to access the database directly from the swing app?
Should I put database...
Started by Ben Noland on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Your RMI server) location would make this much.
Of the Swing application accessing the data via a central (i.e.
|
|
I used to work on netbeans to build Java applications but now: i am using eclipse. I was was wondering if there a a free good plug-in to help me with swing windows.??
Started by Sulaiman on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Definitely worth.
The best plug-in for this is the excellent Swing Designer .
Want a GUI designer.
JForm designer is a good swing designer, but it is not free.
Central .
|
|
I wish to have an internal (non window) dialog to ask for member input. I would like the dialog to be placed centrally on an existing JPanel.
I have looked at layeredpanes and these seem unusable due to only having a single layout manager (or no layout...
Started by The Feast on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Public that there is a notion of Z-order in Swing, see [java.awt.Component#setComponentZOrder][1]
which affects.
Tutorial for positioning without a LayoutManager.
Of examples in the Swing trail on how to do this.
|
Ask your Facebook Friends
|
I would like to be able to change the locale in my Swing application at runtime and have all the text elements on the screen update themselves with localized text from a ResourceBundle of the new locale.
Can this be done without customizing swing components...
Started by Tony Eichelberger on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
A central repository of listeners that are fired on a locale change, that each then go back and re.
|
|
I'm developing Swing application, and everything works fine usually. But I have an GUI issue.
When I run the application, and for example minimize some other window, my application is still working, but the central part of JFrame is invisible or hidden...
Started by vaske on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Have a look at the Java Sun Concurrency in Swing Tutorial for more information.
In a background thread.
|
|
Typically when I'm creating a Swing (or any UI) application, I have various Actions that appear on menu items and buttons. I usually create an action registry and store the actions in there and then when certain things occur, I disable/enable actions ...
Started by Jeff Storey on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
From my experience, the ' most ' standard way of handling actions performed on a Swing GUI in the Swing framework ( MouseListener / MouseEvent , TableModelListener / TableModelEvent , etc but not more complex Swing applications.
|
|
As is widely known, anything related to Swing components must be done on the event dispatch thread . This also applies to the models behind the components, such as TableModel . Easy enough in elementary cases, but things become pretty complicated if the...
Started by Joonas Pulakka on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
As far as I understand, you don't want to implement Swing model interfaces in your real model, do you? Can you implement a Swing model as a "view" over a part of a real model? It will translate its read-access getValueAt() to the calls of....
|
|
Code generated for swing always fails when it comes to code quality. Inevitably, there's one method that builds the entire interface, and there's anonymous event handling code that calls member methods.
Does anyone have some nuggets on transforming this...
Started by Allain Lalonde on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Given the fact the Swing/AWT code to be working on this code in....
The answer to your question lies in how much this code is going to be maintained, and how central and replaced by something new in the future (given it is a side component).
|
|
I am trying to code a very simple form using java but i am running into more trouble than i expected because of the way swing lays out components, I have tried various different layout managers and still cannot layout the form the way i would like.
Here...
Started by IShotRJ on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
Or borderlayout); top (or central) part for the labels and textfields, bottom (or south) for the button with Java swing for 4 years and it was a hurdle to design layouts at first, but it gets easier the more.
|
|
I'm looking for a place to hook some code to programmatically create, size and position a JPanel after the application has finished loading.
I'm just starting with Java. I'm using NetBeans 6.5.1 with jdk1.6.0_13. I've used the new project wizard to create...
Started by Arnold Spence on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The traditional way to layout Swing components is by using a LayoutManager.
Experiences may vary.
|