Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Swing | Forum profile

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.

Site: Sun Forums - Swing
(site profile, domain info sun.com)
Title: Swing
Url: http://forums.sun.com/forum.jspa?forumID=57
Users activity: 31 posts per thread
Forum activity: 177 active threads during last week
 

Posting activity on Swing :

  Week Month 3 Months
Threads: 177 662 1,838
Post: 550 2,113 5,687
 

Swing Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
camickr
57
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 =...
Encephalopathic
39
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?
AndrewThompson64
32
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.
jduprez
18
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...
kopik
17
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
DarrylBurke
16
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
Andre_Uhres
12
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.
PhHein
12
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.
jagabandhu
11
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...
codemeup
10
user's latest post:
java.lang.ArrayIndexOutOfBoundsE...
Published (2009-11-25 16:06:00)
Encephalopathic- your the bomb. Thanks a bunch for your help!!
 

Latest active threads on Swing ::

Sun Forums
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...
Thread:  Show this thread (7 posts)   Thread info: Refresh Drawing Panel Size: 7,723 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Refresh Drawing Panel :: Swing
 :: Sun Forums"
Sun Forums
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
Thread:  Show this thread (9 posts)   Thread info: Updating JInternalFrame TextFields Size: 305 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Updating JInternalFrame TextFields :: Swing
 :: Sun Forums"
Sun Forums
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....
Thread:  Show this thread (2 posts)   Thread info: Custom jcomponent for showing file download, Graphics.clearRect prob Size: 11 kb
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Custom jcomponent for showing file download, Graphics.clearRect prob :: Swing
 :: Sun Forums"
Sun Forums
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...
Thread:  Show this thread (2 posts)   Thread info: weird jcombobox problem Size: 1,469 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: weird jcombobox problem :: Swing
 :: Sun Forums"
Sun Forums
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.
Thread:  Show this thread (2 posts)   Thread info: Building a GUI Application Size: 479 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Building a GUI Application :: Swing
 :: Sun Forums"
Sun Forums
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 ...
Thread:  Show this thread (2 posts)   Thread info: Problem when resizing the form Size: 791 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Problem when resizing the form :: Swing
 :: Sun Forums"
Sun Forums
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
Thread:  Show this thread (5 posts)   Thread info: How to make Textarea Should not take new line charecter Size: 171 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How to make Textarea Should not take new line charecter :: Swing
 :: Sun Forums"
Sun Forums
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.
Thread:  Show this thread (2 posts)   Thread info: How to make a jTabbedPane transparent?? Size: 519 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How to make a jTabbedPane transparent?? :: Swing
 :: Sun Forums"
 

Hot threads for last week on Swing ::

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.
Thread:  Show this thread (31 post)   Thread info: Best free charting tool for swing applications Size: 388 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Best free charting tool for swing applications :: Swing
 :: Sun Forums"
Swing
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
Thread:  Show this thread (15 posts)   Thread info: How to set background image to a frame in Netbeans IDE Size: 266 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How to set background image to a frame in Netbeans IDE :: Swing
 :: Sun Forums"
Swing
Re: Clipboard access - 15 new posts
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 ...
Thread:  Show this thread (15 posts)   Thread info: Clipboard access Size: 695 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Clipboard access :: Swing
 :: Sun Forums"
Swing
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?
Thread:  Show this thread (11 posts)   Thread info: Automatic do background work in panelX when you cardLayout.show(panelX)? Size: 309 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Automatic do background work in panelX when you
cardLayout.show(panelX)? :: Swing
 :: Sun Forums"
Swing
Re: Need help - 11 new posts
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 .
Thread:  Show this thread (11 posts)   Thread info: Need help Size: 436 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Need help :: Swing
 :: Sun Forums"
Swing
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 ...
Thread:  Show this thread (10 posts)   Thread info: Swings--Repaint() issue.. Size: 1,784 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Swings--Repaint() issue.. :: Swing
 :: Sun Forums"
Swing
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?
Thread:  Show this thread (10 posts)   Thread info: Limit horizontal size of JScrollPane view Size: 321 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Limit horizontal size of JScrollPane view :: Swing
 :: Sun Forums"
Swing
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 ...
Thread:  Show this thread (9 posts)   Thread info: Great difficulty with creating a Glass panel Size: 1,076 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Great difficulty with creating a Glass panel :: Swing
 :: Sun Forums"
Swing
Re: JTextField? - 9 new posts
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
Thread:  Show this thread (9 posts)   Thread info: JTextField? Size: 129 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: JTextField? :: Swing
 :: Sun Forums"
Swing
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
Thread:  Show this thread (9 posts)   Thread info: Updating JInternalFrame TextFields Size: 305 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Updating JInternalFrame TextFields :: Swing
 :: Sun Forums"