|
More site info...
|
|
Forum profile page for Swing
on http://www.sun.com.
This report page is the aggregated overview from a single forum: Swing
, located on the Message Board at http://www.sun.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "Swing
" on the Message Board at http://www.sun.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on Swing
:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
177
|
662
|
1,838
|
|
Post:
|
550
|
2,113
|
5,687
|
|
|
Swing
Posting activity graph:
|
Top authors during last week:
user's latest post:
How to make Textarea Should not...
Published (2009-12-04 22:26:00)
I doubt that is the best solution as I would guess that would intercept the Enter key on all components, not just a JTextArea, which may cause problems. For a one line solution you can check out the Single Line Text Area . If that doesn't work exactly the way you want, (because it will add a space to the document), then the better solution is to use KeyBindings and intercept the Enter key and do nothing: KeyStroke enter =...
user's latest post:
Adding buttons to a JPanel
Published (2009-12-03 17:48:00)
Agree, since it appears that you never read nor acknowledged any previous reply, why bother replying to this thread?
user's latest post:
Building a GUI Application
Published (2009-12-04 23:46:00)
Dele wrote: When building a GUI Application should the "main()" class be part of the GUI class or should the "main()" class be a separate class that call the GUI class. I am betting some would argue the 'the GUI' should not be a class at all. That implies that the GUI extends one of the J2SE GUI classes, whereas that is commonly felt to be unnecessary.
user's latest post:
Vertical Alignment of Text in...
Published (2009-12-03 12:49:00)
A BorderLayout awards its SOUTH component its preferred height (at least, as a second chance after the NORTH component has got its own preferred height). Intuitively I would try to locate the editor pane as a single child, at the SOUTH of its parent panel. Let my IDE kick in... EDIT - intuition incarnated in an SSCCE: import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import...
user's latest post:
Question about Dates in java.
Published (2009-12-03 06:31:00)
hii will take care of that, or throw an Exception. yes, only throws..., In all due respect to you, only disagree, nothing more, but accepted ... ... kopik
user's latest post:
How to set background image to a...
Published (2009-12-01 06:24:00)
Thsi forum's for Swing, not for NetBeans. Find a NetBeans forum. db edit However, I'll give you a hint: Custom creation code, and override paintComponent. Edited by: DarrylBurke
user's latest post:
application main folder
Published (2009-12-01 22:55:00)
I think it will never fail in the context defined by the original poster. Of course your are right in the point of asking for possible alternatives.
user's latest post:
Question about Dates in java.
Published (2009-12-03 04:46:00)
kopik wrote: hii, depends of definitions in databases, there are various Date Type, for various db engines @ HeavenBoy 1/ which Date Type contains your dbTable definitions, is there Timestampt, Date, DateTime ... char, varchar, 2/ maybe it does not matter at first sight ---> what db engines ... kopik Irrelevant, the PreparedStatement will take care of that, or throw an Exception.
user's latest post:
Best free charting tool for...
Published (2009-12-03 22:42:00)
Actually I removed the axes sharing among all charts still the effect is same ! I mean all charts are listening to events at the same time if I fire for one!! Any way below is the demo : import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; import org.jfree.chart.*; import org.jfree.data.general.SeriesException; import org.jfree.data.time.Day; import org.jfree.data.time.TimeSeries; import...
|
|
|
|
Latest active threads on Swing
::
Started 4 days, 1 hour ago (2009-12-02 22:06:00)
by Ananda121
The second part of the codes are attached here :
private void initComponents() {
java.awt.GridBagConstraints gridBagConstraints;
jPanel2 = new javax.swing.JPanel();
jPanel3 = new javax.swing.JPanel();
jPanel1 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
nx = new javax.swing.JTextField...
Started 2 days, 21 hours ago (2009-12-04 02:16:00)
by RMTO86
I didn't understend well where the problem is but....
what about to write a method in NewJInternaFrame1 class which takes a String as a parameter in order to set the jtextfield text?
could it be a solution to your problem?
RM
Started 1 day, 22 hours ago (2009-12-05 01:52:00)
by Shashaank
Here is the full source code.
package neembuu.swing;
import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.image.BufferedImage;
import javax.swing.JComponent;
import javax.swing.JProgressBar;
import neembuu.common....
Started 1 day, 22 hours ago (2009-12-05 01:16:00)
by AndrewThompson64
bif_f wrote:
hi everyone...
i have a combo box that gets its model from a class that extends AbstractListModel implements ComboBoxModel in order to build objects from database values.
Do you have a ' shift' key? If so, please apply it once at the start of each sentence, to help dispel the impression that you are just plain lazy.
..why is this happening....
Is that a question...
Started 2 days ago (2009-12-04 23:46:00)
by AndrewThompson64
Dele wrote:
When building a GUI Application should the "main()" class be part of the GUI class or should the "main()" class be a separate class that call the GUI class.
I am betting some would argue the 'the GUI' should not be a class at all. That implies that the GUI extends one of the J2SE GUI classes, whereas that is commonly felt to be unnecessary.
Started 2 days ago (2009-12-04 23:03:00)
by AndrewThompson64
1) We don't support Netbeans, so if by 'form' you mean a JFrame, say that.
2) For better help sooner, post an SSCCE (<- link).
3) If you choose to post an SSCCE (or code snippets, HTML/XML or input/output), make sure you include it in the code tags so it retains its indentation and formatting. To do that, select the code and click the CODE button. Use the Preview tab to check your ...
Started 4 days, 1 hour ago (2009-12-02 22:43:00)
by StanislavL
Get the editor's Document and add a DocumentFilter. In the insertString() method cut all the chars.
Regards,
Stas
Started 2 days, 2 hours ago (2009-12-04 21:22:00)
by camickr
The is probably a LAF issue. The following works on the Metal LAF:
UIManager.put( "TabbedPane.contentOpaque" , Boolean.FALSE);
JTabbedPane tabbedPane = new JTabbedPane();
tabbedPane.setOpaque( false );
Of couse all the panels added as tabs will also need to be transparent.
|
|
Hot threads for last week on Swing
::
Started 1 month, 3 weeks ago (2009-10-14 02:25:00)
by sabre150
Where does J2EE come into this? I use JFreeChart for large datasets but one must of course not try to plot a million points on an axis 1000 pixels wide. Whether one used JFreeChart or any other charting tool this just does not make sense since the whole just looks like noise. Without more detail it is difficult to suggest anything with more substance.
Started 5 days, 17 hours ago (2009-12-01 06:24:00)
by DarrylBurke
Thsi forum's for Swing, not for NetBeans. Find a NetBeans forum.
db
edit
However, I'll give you a hint: Custom creation code, and override paintComponent.
Edited by: DarrylBurke
Started 3 days, 15 hours ago (2009-12-03 08:48:00)
by camickr
How do I seamlessly share the clipboard between a bunch of JTextComponents in a Java JNLP
I don't understand the question. Ctrl+C, X, V are enabled by default.
If you need further help then you need to create a Short, Self Contained, Compilable and Executable, Example Program (SSCCE) , that demonstrates the incorrect behaviour.
Don't forget to use the Code Formatting Tags so the ...
Started 1 week ago (2009-11-29 12:48:00)
by Encephalopathic
Why not load from the database in the submit button's action performed, immediately after verifying name and password? This is the user action that triggers making panel 2 visible, and it seems that this is when you want to load the data. What am I missing here, anything?
Started 4 days, 20 hours ago (2009-12-02 03:47:00)
by Joerg22
Your post's title is valid for almost all posts here. Please use a more significant one in the future.
If there is any better idea to do it
What was the original idea?
The Container class contains several remove methods. I wonder whether you know this link .
Started 5 days, 21 hours ago (2009-12-01 01:55:00)
by AndrewThompson64
Subject: Swings--Repaint() issue..
It is 'Swing', not 'Swings'.
kottakotar wrote:
Hi,
I have the Swing application. i am refreshing graph(Swing appl) for every 15 secs... the problem is for every refreshment graph it means the panel is blinking and updating the data.
Do you override paint() or paintComponent() anywhere in the code you did not think to share?
but ...
Started 4 days, 10 hours ago (2009-12-02 13:20:00)
by endasil
After a bunch of debugging and inspecting, I think I've found what should have been obvious: Scrollable.getScrollableTracksViewportWidth(). I let my JPanel implements Scrollable and specify that method to return true, and it seems to work!
Anyone have a better solution?
Started 1 week, 1 day ago (2009-11-28 21:36:00)
by AndrewThompson64
JFoster82 wrote:
..I'd like to draw text 'over' this by using a glass panel, is there any reason why it isn't this easy?
Seemed pretty easy to me (1).
glassPane = new JPanel( true );
..
Note that you get better help, faster, if you post an SSCCE (<- link) rather than uncompilable code snippets.
I realise this may be completely wrong but I seem to have hit a ...
Started 1 week ago (2009-11-29 10:01:00)
by DarrylBurke
By reading the API and invoking suitable method/s with suitable parameter/s.
db
Started 2 days, 21 hours ago (2009-12-04 02:16:00)
by RMTO86
I didn't understend well where the problem is but....
what about to write a method in NewJInternaFrame1 class which takes a String as a parameter in order to set the jtextfield text?
could it be a solution to your problem?
RM
|
|