Java Core GUI APIs
- J2SDK API classes
- Mon, 06 Feb 2012 03:31:00 GMT
- Hey Guys, i need materials for learning J2SDK API classes, Please do help me....
- open the xml file in JTextAtrea in xml format using swings
- Thu, 10 Feb 2011 20:15:00 GMT
- I am created one "open" button . Then click on button diplay the xml file in JTextArea. Please send me this question....
- Java developer needed in Woodside Queens, can you recommend anybody?
- Mon, 24 Jan 2011 07:20:00 GMT
- Company: Time Warner - QUEENSPosition Type: Permanent Pay Rate: To 100KSkills: J2EE, Java, JSP, Servlets, JavaScript, SQL server, Oracle, Networks, XML, Web, UNIX/Win OSEssential Job Functions: • Will be expected to develop and support applications as required.• Maintain and develop Java and Jav...
- Problems with getComponentMenu()
- Wed, 19 Jan 2011 08:00:00 GMT
- Recently I had to make an update to my GUI. One of those update was to add a popup menu into a JList. But no matter what I tryed it constantly didn't work, so I made another GUI (One to test this method) and added the same popup menu code I used in the first GUI and tested it. That one did work,...
- urgent.....make an underlying Jpanel translucent....and place signin panel over it
- Thu, 13 Jan 2011 13:41:00 GMT
- i have a JApplet....i want my underlying panel to become transparent so that i can still see through the components of the JPanel but they are nt editable....and i want a sigin panel to appear on top of it....pls help...i need it to submit my college project in a week..thanks in advance for your hel...
- make underlying jpanel transparent
- Thu, 13 Jan 2011 01:07:00 GMT
- i have made a JApplet.I want that on click of a button my existing panel should become transparent and unediatble and a small sigin panel should appear on top of it...is this possible??i am new to java programming...so if somebody could give me a detailed explanation on how to do this....thanks in a...
- Checkbox in Combobox Rendering
- Sun, 12 Dec 2010 20:51:00 GMT
- Hi All,I am trying to show checkboxes in combobox i.e. each element in the combobox will be a checkbox so that user can select multiple options in the combobox. This will be same as "AutoFilter Option in MS Excel 2007". After much googling around, I have the following solution with only one...
- Hourglass cursor issue over opening JInternal over Model Layer.
- Fri, 10 Dec 2010 20:58:00 GMT
- Hi,Please advise...... In our App having a main window with toolbar and menus etc.Inside this main window there is another frame(JInternal frame), from where user can open different screens (frames).So its a Parent child relationship between the JInternal frames.1) When open a window (JInternal Fram...
- how can I get the mirror image of a character
- Thu, 20 May 2010 03:58:00 GMT
- how can I get the mirror image of a character...
- expandPath in JTree takes long time.
- Mon, 24 May 2010 22:57:00 GMT
- Here is the code.
I have a list which contains minimum 10000 nodes.
pathList.addAll(pathsToExpand);
I have tried to expand in following ways.
1) Iterate the list and expand one by one in the same thread - takes too long time.
2) Code is moved to sepearte thread - But still same result...
- JLayeredPane overlapping problem.
- Wed, 26 May 2010 02:04:00 GMT
- Hi,
I have three JPanels within a JLayeredPane. Each panel has been added to the DEFAULT LAYER but added at different indexes, panel1 is at index 0, panel2 is at index 1, etc.
On panel1 I have a button which expands the panel, thus overlapping panel2.
My problem is that now when I move th...
- problem in rotating & moving image at same time(JAVA)
- Tue, 08 Jun 2010 08:41:00 GMT
- Hello every one im making a car game in which you have upper view
problem im facing is that i cannot move and rotate the car(image) at the same time means
if i press up and right arrow key at the same time i wont rotate and move which i want it to
it just moves forward or rotate
Any one who know...
- Multiple Layouts in JFrame
- Tue, 15 Jun 2010 11:24:00 GMT
- Hi
I have a problem with my cuurent project. Using GUI, I have an interface that has 3 sections:
1. Upper tab that has to be card layout.
2. Board GUI that has to be Grid Layout.
3. Left tab that also has to be Box Layout.
All these 3 sections must be in 1 interface.
I actually have deci...
- Adding tick marks to a non circular Arc2D
- Wed, 23 Jun 2010 16:41:00 GMT
- I want to add some tick marks to an Arc2D object. The arc is created by:
arc = new Arc2D.Double(20.0, 30.0, 150.0, 60.0, 30.0, 130.0, Arc2D.OPEN);
The only examples I can find have the width and height of the Arc2D the same so the shape is basically circular. My case is the non circular ca...
- loading an image in netbeans
- Tue, 29 Jun 2010 00:56:00 GMT
- hi
i'm working with netbeans GUI and I want to load an image from arbitrary destination in my panel(I know how to load an image for a button image or....but I don't know how to do it for my panel.)
thanks for your helps.
...
- Basic Stroke & Zoom facilities
- Thu, 08 Jul 2010 05:28:00 GMT
-
I am writing a GUI for a pendevice and to be able to display the entire page - I am having to zoom down the actual JPanel canvas for this. My problem is in the zoomed down transform state the lines drawn (using the pen) are not smooth. But with 100% zoom the lines draw look just fine and also expo...
- how to add what is written in a text areas to what is already written on a text files
- Mon, 26 Jul 2010 19:56:00 GMT
-
whenevere i write a line in the text area and save it to the text file then write another one and save it to the text file and open the text file it display
the last line only not all of the lines.
here is the code:
String S1=putName.getText();
String S2=area.getTex...
- How do I stop screen flickers with JTabbedPane
- Sun, 22 Aug 2010 10:31:00 GMT
-
I have a fixed- size JTabbedPane inside a JPanel that is inside a JFrame. If I have the JFrame at full size and resize or select a different tab, the entire JTabbedPane seems to expand to the entire size of the JPanel and then shrink to the correct size(it flickers). My research...
- 2border layout
- Fri, 26 Mar 2010 12:20:00 GMT
- i want to know the coding for a panelnorth that divide into two different border layouts..one stand for payment type(cash,visa) and the one is stand for fuel type(diesel,petrol)..both layout use jradiobutton..<br />...
- How to make numbered JButton in java?
- Fri, 28 Aug 2009 17:18:00 GMT
- Any idea on how to make a numbered JButton like in crossword and also to color the button(white and black button)?? Is it possible to do it with array??Please help me....(I'm trying to make a crossword game with Jbutton as the cell).....
- How to make numbered JButton in java?
- Fri, 28 Aug 2009 17:21:00 GMT
- Any idea on how to make numbered JButton like in crossword and color it white and black. I'm trying to make a crossword game with JButton as the cell.. Should i use array ? Please help me..Thanks...
- ZScrollableDesktop revisited
- Sun, 23 Sep 2007 16:37:00 GMT
- Hi,Looking through the archives, I came upon ZScrollableDesktop and have been trying to adapt it to my needs. Specifically, I need to have the scrollpane automatically scroll, as in scrollToVisibleRect(), not merely resize the desktop so as to create appropriate scrollbars.I'm no stranger to ...
- ZOrder alternative
- Sat, 22 Sep 2007 22:31:00 GMT
- Is there any alternative to the ZOrder methods in 1.5 for 1.4.2 without using a LayeredPane?...
- Zooming/streching turtle
- Wed, 30 Apr 2008 10:52:00 GMT
- Hello there,I'm working on the well-known graphic demo 'turtle',which will be included in a larger project,where I have to simulate a route of a robot.As I'd like to insert functions like zooming, streching etc.,I'd like to know which classes are most suitable for that?At the moment I'm using...
- Zooming problem in JTextPane
- Sun, 23 Sep 2007 04:23:00 GMT
- hi all, I m back.I m creating an RTF Text Editor, i m just near to finish it. I have used JTextPane to load the file contents, but the contents are not fairly visible in pane i also increased the zoom but still after zooming it showing the gap between the normal text and colored text ne body ...
- ZOOMING INTO IMAGES
- Sun, 23 Sep 2007 15:01:00 GMT
- Hi,does anyone know how to implement basic zooming function onto a JFrame?PLEASE let me know.Thank you,...
- zooming image in applet without any API
- Sun, 23 Sep 2007 09:46:00 GMT
- Hello,I want to make an applet that should allow users to zoom in/out the image,but I donot want to install any other stuff at the users system except JRE.How can i do that?I looked for JAI (Java Advaced Imaging API) but it seems that it requires JAI APIon JRE.Any help will be highly ...
- I am writing a program that displays geometric str...
- Wed, 19 Sep 2007 07:01:00 GMT
- I am writing a program that displays geometric structures (e.g. circles, straight lines, ...etc.). I need my program (the Canvas) to be able to zoom out and zoom in the display, similar to what acrobat reader does, for example. Is there any available classes that can help me in ...
- Does anyone have an idea on how to zoom in and out...
- Sun, 23 Sep 2007 11:01:00 GMT
- Does anyone have an idea on how to zoom in and out of a JPanel. Is there some library or something. thank you...
- I need to zoom in on rectangle by dragging the mou...
- Sun, 23 Sep 2007 16:08:00 GMT
- I need to zoom in on rectangle by dragging the mouse on a graph. When the mouse button is released the graph is rescaled to display only the new rectanglular region. Plz give me some hints how to proceed. Thanks in advance....
- "Java Core GUI APIs" Related Questions
- GUI hangs during I/O Operation
- Hi thereI have a JFrame with buttons and stuff to select the data I want tocopy in another folder. Clicking the button "start" generates aJDialog with a JProgressBar, updated by a timer, and launches the copyprocess. The problem is that if I use the JDialog together with theJFrame, the timer won...
- Cannot call an Applet method from IE & Mozilla
- Following code works perfectly with Opera & Safari but does not work with IE:Mac v 5.2 & Mozilla 1.7.7.The Applet is loaded, but the invokation of the "setString" method fails.Can anybody help me ...
- modal dialog question
- Jeff Chapman wrote:> I am using a JEditorPane embedded in a non-modal dialog to display> help information for my application. My help info is contained in a> set of html files.> This works well except when the user invokes a modal dialog. At that> point the user can no longer navi...
- number of pages to print in JEditorPane
- Greetings,I'm trying to print the (html) contents of a JEditorPane with the following.public int print(Graphics g, PageFormat pf, int pi) throws PrinterException {if (pi >= 2) {return Printable.NO_SUCH_PAGE;}// shift the graphics to the selected pageg.translate( (int)pf.getImageableX(), ...
- Add/Remove/Replace KeyboardFocusManager
- Hi,There are many buttons in a Applet and on clicking on each button an instance of another applet is opened. This Applet uses AWT and I am handling events for all the keys and I am using KeyboardFocusManager. When multiple instances of the applet is opened and when TAB key is pressed, the ...
- getParent returns null
- myApplet has a simple button on the middle of the Applet, when user clicks on the button a instance of JFrame pops up. when user closes the JFrame, I want to enable the button on the applet. So I want to getParent of JFrame, so I can get the button.Component parent = jFrame.getParent();To my ...
- Graphics g in JScrollPane
- Hi, i'm struggling with this problem here.this is a piece of code i have foundclass MyPanel extends JPanel implements ChangeListener { JScrollPane sp=null; private BufferedImage bgImg=null; private Graphics bgG=null; public MyPanel(JScrollPane sp) ...
- Keyboard input issues
- Hi folks,I'm having an interesting issue. I am creating a program in opengl using the latest JOGL libraries. Part of this program needs to respond to keyboard input, and as such I've registered in each swing/awt component a keyboard listener.This setup seems to work great and the program ...
- Why wont my font change?
- It seems to me that this line should change the font of my JLabel -- but it's still appearing the same as it always was, with whatever default font it uses and bold.tableName.setFont(new Font("Tahoma", Font.PLAIN, 11));If I do a System.out.println(tableName), I get the following -- so why ...
- Windows Decoration Listeners? - Problem Solved
- On Dec 18, 12:59 pm, Knute Johnson <nos....thatisjava.com.rabbitbrush.frazmtn.com>wrote:> Jason Cavett wrote: > > general consensus is that you can't do what you want. The title bar> does not handle mouse events.> --> Knute Johnson> email s/nospam/knute/Actually, it can be done....