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
408 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
599 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
429 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
385 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
410 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
586 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
400 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
852 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
639 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
650 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
435 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
449 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
629 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
475 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
416 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
685 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
393 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
428 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
439 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
483 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
662 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
577 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
575 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
548 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
672 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
531 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
401 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

2.1m questions

2.1m answers

60 comments

57.0k users

...