Swing / AWT / SWT / JFace
- DatePicker example
- Mon, 14 May 2012 08:53:00 GMT
- Does anyone have an example of Andrey Onistchuk's DatePicker. Succesfully downloaded the code, tried to set up and example but can't get it to work....
- Swing Icon Image on JButton
- Sun, 26 Feb 2012 14:38:00 GMT
- I tried:import javax.swing.*;public class IconFrame extends JFrame { JButton load; public IconFrame() { super("Icon Frame"); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel panel = new JPanel(); ImageIcon loadIcon = new ImageIcon("load...
- How to calculate the following metrics coupling, fan-in,fan out, block depth & number of paramete
- Thu, 16 Feb 2012 02:10:00 GMT
- Hi! Im in writing the code for ooD metrics. Im in search of the code for the following metrics such as coupling, fan-in,fan out, block depth and number of parameters in a method.I request anyone to help and send the code....
- java application... Jframe from designing
- Thu, 09 Feb 2012 22:14:00 GMT
- in design part...1 add label2 need to insert button3 click on the button it need to display Jinternalframe and digital clock is displayed inside the frame............ thankyou.....
- Panels Design at run time
- Fri, 27 Jan 2012 21:04:00 GMT
- How to add a new panel to the frame which should replace the previous panel which is to the right corner?please post the code as soon as possible....Thank you in advance...
- How to Create a Splash Screen In Java..
- Sat, 24 Dec 2011 05:29:00 GMT
- How to create a Splash Screen in java.. Itz better, you can teach it for me using NetBeans......
- when i click jbutton, its back immideately. Why its not waiting until my request process?
- Thu, 03 Feb 2011 00:59:00 GMT
- when i click jbutton, inside i written port reading data. why its not waiting until port reading data? Please let me know any other solution.i need to show button doing some process untile complete port reading datakotaiahkv.thatisjava.com.gmail.comRegardsKotaiah.K...
- when i click jbutton, its back immideately. Why its not waiting until my request process?
- Thu, 03 Feb 2011 00:50:00 GMT
- when i click jbutton, inside i written port reading data. why its not waiting until port reading data? Please let me know any other solution.i need to show button doing some process untile complete port reading dataRegardsKotaiah.K...
- create two rounded rectangle overlapped to each other
- Sun, 30 Jan 2011 23:14:00 GMT
- i want to create two rounded rectangle overlapped to each other within a single JPanel.Actually I had created two rounded rectangle within a single JPanel, but i'm unable to find the solution to how to do overlap each other....
- to create overlapped rounded rectangle.
- Sun, 30 Jan 2011 22:59:00 GMT
- i want to create two rounded rectangle overlapped to each other within a single JPanel.Actually I had created two rounded rectangle within a single JPanel by i'm unable to how to do ovelap to each other....
- how to call swing class from jsp ?
- Thu, 27 Jan 2011 19:57:00 GMT
- i want to call java swing class from jsp file..can you please send the code regarding my requirement???...
- Framework for Swing to implement RBAC - Role Based access control
- Fri, 14 Jan 2011 12:12:00 GMT
- Hi,I need to implement role based access control to a swing framework application. I was looking to find some standard implementation patterns if existent so that i could check if it's possible to implement them in this application. Is there any work already going on to provide RBAC with swing /...
- BufferedImage is causing memory leak
- Thu, 06 Jan 2011 14:07:00 GMT
- BufferedImage class in desktop app appears to be causing a memory leak. BufferedImage is being used to draw single pixel image to the whole screen and to save scribble file(s). BufferedImage hierarchy in java as follows -java.lang.Object java.awt.Image java.awt.image.BufferedImage...
- AutoSelection JComboBox add to JTable using swings
- Mon, 03 Jan 2011 02:05:00 GMT
- Sir I need Auto Sussion JComboBox add to JTable(for example we are enter in to one letter in to that text only that text related words will be displayed on JComboBox)....
- JTable using swings
- Tue, 28 Dec 2010 00:43:00 GMT
- I am using JTable click on maximization button the alternate color rows of the table will not alternate and scrolling the table the alternate color of the table are not alternate. Bellow my code please send me my mail urgent.import java.awt.*;import javax.swing.*;import javax.swing.table.*;public cl...
- I need to modify Jspinner
- Tue, 14 Dec 2010 23:28:00 GMT
- Hi I have a jspinner in that i'm incrementing hr and min (hh:mm) , i can able to increment hour and minute by 1,2, 3.. etc, but my need is i need to increment the minute by 15 times For example : when i press the increment button in the jspinner after selecting minute , it should increment by 1...
- problem with JScrollPane
- Thu, 06 May 2010 05:40:00 GMT
- I have a JScrollpane containing a Panel with 100 TextFields (in a GridBagLayout). I see the panel in my frame and also the scrollbars. But when I scroll everything that was not in the window doesn't appear I only see a gray window...
here is my code:
import java.awt.*;
import...
- TreeTable with database
- Thu, 13 May 2010 06:34:00 GMT
- Hi to all,
I'm trying to make a TreeTable as the example that comes with Sun's page, but instead of displaying the data from the root, I want to show the tree data from a DB.
Someone could help me out?
A greeting and thanks!...
- Draw time lag while key being held
- Fri, 28 May 2010 13:23:00 GMT
- I am currently working on an applet game in Java. On some computers, but not all, I have noticed that when a key is pressed, drawing is delay a major amount. I have an updater thread that updates all objects in the game and then requests that the game be drawed (via repaint() method). The updater th...
- Accelerator doesn't work when the menu is closed.
- Sat, 29 May 2010 14:34:00 GMT
- I have a problem with setting accelerators.
I set it like this:
menuItem.setAccelerator(KeyStroke.getKeyStroke('N', Toolkit
.getDefaultToolkit().getMenuShortcutKeyMask(),...
- about jinternalframes
- Fri, 30 Jul 2010 03:08:00 GMT
-
how to transfer texts of jinternal frames to jframe's textfield?
...
- draw line problem
- Thu, 12 Aug 2010 00:18:00 GMT
- i am drawing a program in swing, in which i use mose to draw a line on the JInternalFrame , this program show a program in drawing,
this program draw a line succesfully, but when i go for the next line it remove the old ones...
- how to set shortcut for jbutton without pressing alt key in java swings
- Thu, 26 Aug 2010 23:13:00 GMT
-
hi i want to know how to set shortcut key for button
the Key should be a single letter not the combination of alt+key
in java swimgs
thak you...
...
- This code is SplitButton JpopupMenu items are not hiding? pls Modify & hide items?
- Tue, 07 Sep 2010 21:30:00 GMT
-
//Sir post me.my mail_id:kasiram.p.thatisjava.com.gmail.com
mport java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.plaf.basic.BasicArrowButton;
import java.awt.Image;
import java.awt.image.BufferedImage;
import javax.swing.event.PopupMenuListener;
import javax.swi...
- JFileChooser in Applet keeps focus after selection of a directory (Ubuntu 9.04/FF3.6.9/JVM1.6.0_20)
- Tue, 14 Sep 2010 04:46:00 GMT
- Hello,
I have spent several days on the following issue:
When I open a JFileChooser and select a Directory, after hitting the "Open" button, the FileChooser closes correctly, but the text field on the main applet pane cannot be selected any more (the mouse pointer goes to "text...
- i get an error when i rigtclick on the table & do "set values" twice
- Thu, 16 Sep 2010 22:33:00 GMT
- public class Tableright extends JFrame implements ActionListener, ChangeListener,FocusListener
{
static JTable table[] = new JTable[2];
JPopupMenu popup;
JTabbedPane jtp;
//PopupMenuDemo p1 = new PopupMenuDemo();
&nb...
- JTextPane in JScrollPane with transparent background
- Mon, 27 Sep 2010 03:29:00 GMT
-
i set a background image to the scrollbar and set opaque false to both the scrollpane and textpane and it works just fine but when i try to write in the textpane the background turns to white with each character i write, here's the code for this part :
JTextPane pane = n...
- make custom curser
- Mon, 04 Oct 2010 23:38:00 GMT
- (bellow my code is) I am creating two labels(open and save) click on the open label my mouse curser was going to change save label that will click on other place fixed it,save also. But my problem is at atime click on two labels and click on other place fixed in two labels, my need is last click on...
- How to detect click on Image in JTextPane
- Tue, 12 Oct 2010 13:53:00 GMT
- Hello,
I've got some functionality for inserting images in my textPane by inserting <img src="file:///...">.
Now I want to add a tooltip and an action to this inserted image. I found some examples for "clickable" hyperlinks, but this is no option for me, because my...
- JTree In JSplitPane + Jtable in the same frame
- Mon, 18 Oct 2010 05:11:00 GMT
-
Hi,
I am implementing an application using Jtree and JSplitPane .On clicking the node on the the tree a new Jtable should be formed on the right side of the JSplitpane.It should not create new fram rather the table should be created on the existing frame only and the table should be updated whe...
- "Swing / AWT / SWT / JFace" Related Questions
- how to set text color on the column of Jtable!
- how to set text color on the column of Jtable?which method should be used?can you give me a sample?thanks? ...
- Wanna create .bmp file from image object.
- I wanna create a .bmp file from scaled image file.That is I wanna create a small sized file(1k) from large one.The code i have done for scaling import java.io.*;import java.awt.*;class test extends Frame implements Serializable{Image nev,pra;public test(){setSize(400,400);Toolkit t ...
- How to write TableCellEditor for the following TableCellRender
- I didn't know how to write the TableCellEditor for a TableCellRender which returns a JPanel contains JTextField and JButton.I hope u give an answer or guide me to a good topics.Thank u in advanced.The code is the following://NewCell.javaimport javax.swing.*;import java.awt.*;import ...
- bug of 1.3.1
- backspace key event is not consumed in 1.3.1but delete key event is consumed.can anybody oppose this. ...
- basic settings for the main window
- How do I set a frame fullscreen or minimize it? How can I replace the coffee cup logo in the upper left corner to something other? I have tried to search the API but have not found anything....
- Using of javax.swing.text package
- Where can I find any resources devoted to using javax.swing.text package? ...
- Right Click in a TextArea problem
- What seems to be the problem when you see this error message?Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: parent not showing on screenThe error appears when I place the 'textArea.addActionListener(this);' right after 'textArea = new JTextArea(5,10);'Just lik...
- Ghost/shadow on my JInternalFrame
- Hi.I'm drawing a vertical line on my JInternalFrame,together with a drawString() call that displays aString. I've done a Graphics.setXORMode(white) toallow the user to drag the (line+string) around the screenand erase the old (line+string) behind itwhen a mouseMoved event is received. It ...
- Problems with TableSorter
- Hi I am trying to set up a table and then use tableSorter to sort the table but whenever i try to compile i get this error message:setModel(TableModel) in TableMap cannot be applied to (javax.swing.table.TableModel)i have been stuck on this for a few days and any assistance that anyone could ...
- Is Embedding Possible?
- HI,Is it possible that i embed a d2k form which is stored on a central server in a java applet/swing and view that form from the clients browser.The entire business functionality would be performed by d2k form. The only thing i want java to do is to display the form in the browser.Is such a ...