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
567 views
1 answer
    I'm developing an application using Java Opencv-2.4.4 and swing GUI. Problem is that I'm unable to find any ... is printable as image in swing ? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
604 views
1 answer
    On my three button mouse MouseEvent.BUTTON2= Middle Click and MouseEvent.BUTTON3 = Right Click. Is this the case on a two button mouse? Thanks See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
447 views
1 answer
    I am making a program that captures a screenshot from a tcp server. It works but after one screenshot i get this error: ... ); }*/ } } } Thanks See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
396 views
1 answer
    how can I execute a process in Java without the program freezing? I've tried using SwingWorker, but I don't quite ... "; } return output; } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
412 views
1 answer
    I work on jFrame project: I have jlabel I want to move it in animation, and then move another jlabel in ... delay, taskPerformer).start(); } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
332 views
1 answer
    So I have a class where I have to make a program to make Simon. I know the way I'm doing it is not ... { this.setBackground(Color.GREEN); } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
424 views
1 answer
    Please I have been trying to switch CardLayout from another class (JPanel) which is one of the card on the CardLayout ... )) .addGap(30, 30, 30) .addGroup(layout.createPa...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
406 views
1 answer
    I am trying to dynamically generate a form. Basically, I want to load a list of items for purchase, and ... subclass of JButton. Any ideas? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
481 views
1 answer
    hi there i'm trying to improve myself about java2D and first of all i'm dealing with drawing polygons. However, i can ... ) { new jRisk(); } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
654 views
1 answer
    I made a Java program using Swing libraries. Now I would like to redirect my console outputs into a JFrame or JPanel. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
664 views
1 answer
    I am currently developing a java application. I want to show a new Window which contains a text area and a button. Do you have any ideas? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
514 views
1 answer
    I want to design a splash screen that can show the current loading process with a progress bar, much like ... Jewelsea for the right path. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
564 views
1 answer
    I'm sure this is possible but all my searching is coming up blank. In Java is it possible to register ... listener might be more appropriate. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
619 views
1 answer
    I seem to have the reverse problem to most people. I have the following pretty standard code to see if the user ... the x on the frame? TIA See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
476 views
1 answer
    I want to make an "Open" and "Save" dialog in java. An example of what I want is in the images below: Open ... How would I go about doing this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
355 views
1 answer
    You see that ? Each brick of each house is an image of 16x16 pixels. What you can see here a version based on ... It should not be a good idea. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
506 views
1 answer
    I'm trying to display tooltips in Java which may or may not be paragraph-length. How can I word-wrap long tooltips? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
548 views
1 answer
    I have a JTable in which I set the column size as follows: table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); table. ... its prefered size is set. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
723 views
1 answer
    I am learning Java gui. The way I learnt to create a window is to inherit or Extend JFrame class and it ... methods? Are they somehow related? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
539 views
1 answer
    I'm creating a graphical front-end for a JBox2D simulation. The simulation runs incrementally, and in between the ... some back-end thread)? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
683 views
1 answer
    I have many planes(threads) that move in window, and I want switch the ImageIcon according to the direction of ... Sorry for my bad english. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
612 views
1 answer
    Hello I am very curious how to solve this problem: I created a pacman with the fillArc, drawArc method in Java ... , diameter, Color.blue); } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
852 views
1 answer
    I am overriding the getActions method in the Java based framework JHotDraw, an open source project hosted here. ... menu? return popupMenu; } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
666 views
1 answer
    I want to create my own file with icon that inherit from JFrame icon, that I set it, in java and my own file ... ()); } Thank you in advance See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
847 views
1 answer
    I have a general question that is Java related. I am writing an application that has a GUI menu. I am trying ... choice. What am I doing wrong? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
910 views
1 answer
    I want to save JTable in xml file using XMLEncoder. When we are saving it into a file, getting an ... (BasicTableUI$Handler); Continuing ... See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
880 views
1 answer
    I am really new to GUI programming in Java, I did a lot of research and I couldn't find an answer to ... thank you very much for your patience! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have something like the code below: for(int i=0;i<10;i++){ button=new JButton(buttons[i]); button. ... . How can I pass the variable? 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

...