Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged Swing

0 votes
412 views
1 answer
    I've made a gui for my application. The JFrame has 2 JPanels, panel1 & panel2. panel1 is just ... unfocusable component are still focusable? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
604 views
1 answer
    I use Nimbus LAF and I want to change the background of a simple JButton. JButton jbutton = new JButton("test") ... do it? Thanks for your help. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
433 views
1 answer
    I need your suggestions and guidence on following task. I have a frame which has two JComboBoxes supposed they are ... of an values to combo2. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
391 views
1 answer
    I am new to java UI programming. how do i call a UI class from a main class in java public static void ... i have uploaded the GUI class code See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
414 views
1 answer
    I made a mini code that draw oval and link each other , now i try to move the oval(Circle) but I have a ... want to move just circles thanks :) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
590 views
1 answer
    I have this code which plays wav files from a folder with play and stop. How can I add pause and continue? import ... ) current.play(); } } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
404 views
1 answer
    I apologize for the long question. I was browsing a forum the other day and I saw a few pieces of text ... and libraries in java? Thanks. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
856 views
1 answer
    I it possible to align the text inside a JTextArea to the right (or change the text alignment in general)? ... work). Thanks in advance! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
644 views
1 answer
    DocumentListener dl = new MessageDocumentListener(); ((AbstractDocument) nboxArea.getDocument()).setDocumentFilter(new ... this issue. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
655 views
1 answer
    I have a JFrame, in this JFrame I have a JPanel that I draw on, this Panel can be any size and ... ))); scrollPane.setViewportView(imageCanvas); See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
439 views
1 answer
    How do i remove the window box from any java program. Because i want to make it look border-less. I know any ... photo what i want to do exactly See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
454 views
1 answer
    I am trying to do a simple Jform and call it from another class. I want to use this Jframe in a server client ... (); CAL.Calculus(); } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
634 views
1 answer
    I was wondering how to make one column of a JTable editable, the other columns have to be non editable. I ... non editable. Thnx in advance. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
479 views
1 answer
    We'd like a trace in our application logs of these exceptions - by default Java just outputs them to the console. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
422 views
1 answer
    I have 2 JPanels in a frame. The first panel contains java items like buttons etc. The two buttons I added ... userInt.add(gravitySpinner); } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
689 views
1 answer
    I already know how to use java.awt.Robot to type a single character using keyPress, as seen below. How can I simply ... , enter String x = "111" See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    How to make Circle image Label in Java? I wanna make circle image Label But I can't do this.. Hey guys Help ... didn't work. help me please... See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
397 views
1 answer
    I would like to implement DnD for my application to accept only files of certain extension (eg. wrl). I ... :122) Any help greatly appreciated See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
432 views
1 answer
    How do you turn on and off a monitor from within a Java application? In case you're wondering why, this is ... to configure it on each machine. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
443 views
1 answer
    I have a problem to run Java application in full screen mode on "openSUSE 11.4 (x86_64)". I ... something with system settings/configuration? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
487 views
1 answer
    I've got a custom tree cell renderer that I'm using to render custom icons a JTree, and I really like ... API. Anyone have any suggestions? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
666 views
1 answer
    Below is the code which creates 9 buttons in gridlayout form on a specific pannel3. What i want is to make the ... new JButton(""+i)); } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
581 views
1 answer
    I would like to have a way to display the contents of an XML file in a JTree. I have already accomplished ... file, parsed with SAX? Thanks! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
580 views
1 answer
    I have created a grid in my program. Below is the code used to create the grid. import java.awt.Graphics; ... I am open to any suggestions). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
552 views
1 answer
    Hello I am writing a GUI application on Java 1.6 with Swing. I have a pop up screen that should display a ... problem. Does anyone have an idea? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
676 views
1 answer
    How to modify/add code to the initComponents() method in Java on NetBeans? When I try to add any line of code ... is a way to disable that. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
535 views
1 answer
    I want to create an overlay in Java that is transparent, always on top, and that I can click-through. ... ImagePanel not being click-through. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
405 views
1 answer
    As described in the title, I've been trying to set up sort of a vertical flow layout with horizontal scrolling. ... below as well as my answer. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...