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
1.0k views
1 answer
    I want to create a bar with a value. If i move the circle, then the value in the field should change. How ... this. Thank you in advance :) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
971 views
1 answer
    I need to build graphs as part of a project requirement. Suppose, I have my inputs specified in the format as ... know if you need more details. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
769 views
1 answer
    I have made a simple 2D state change game using Bucky's slick Java tutorials, I modified this game and now want ... my Play class for my player? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm trying to create a GUI with Swing. My problem is, I have a textfield, but I want it to have ... //davidwalsh.name/demo/html5-placeholder.php See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I am trying to add a scroll bar to a JTextArea. Would someone please tell me what I ... frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
850 views
1 answer
    After upgraded from JRE 1.7.0_21 to 1.7.0_25-b15 my application started to throw NullPointerException in ... /view_bug.do?bug_id=8021370 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Is there a way to create a JButton with your own button graphic and not just with an image inside the button ... a custom JButton in java? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
899 views
1 answer
    I'm trying out to draw some simple graphics to a frame. I would also like to be able to adjust what I'm ... (test_string, 20, 20); } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I wonder if it is possible to implement a GUI panel (possibly JPanel) that is of square shape but rotated ... someone could point out. Thanks. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I'm trying to animate a GIF image. The animation works, but it's not painting well. It shows like this (non ... to get the answer right... See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
991 views
1 answer
    i am trying to write a calculator and having a problem. I already made a actionlistener for all ... actionlistener? And whats better:Keylistener or Keybinding Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
859 views
1 answer
    I use a DocumentListener to handle any change in a JTextPane document. while the user types i want to delete the contents ... don't know what to do in my case? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I've been trying to get my head around this so maybe some of you can help me. I have a list ... such a way. Any suggestions and or alternative implementations? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Recently I noted that some applications are running on javaw (not in java). What is the difference between them and how can I run my Swing application on javaw? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
985 views
1 answer
    I know that by using this method, the runnable parameter is submitted to the system EventQueue. But should all GUI ... we can use to avoid this repetitive code? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
922 views
1 answer
    If I really wanted to do something like that, can I put a JProgressBar (or it's equivalent) in a JTabbedPane tab? ( ... a lot never will, it is not my call) Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
796 views
1 answer
    I have a question about dragging and droping: I can drop labels, text or icon. But I want to drag and drop a JPanel ... , Textbox,..etc). How can I do this ? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
846 views
1 answer
    I have written a sample code using KeyListener in Java, I have created a JPanel, then set its focusable to true, I ... System.out.println("called 3"); } } } Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I would like to add a hint value to my javax.swing.JTextField. It should look like Firefox rendering of ... ) swing component that does something like this? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
973 views
1 answer
    I have to limit the number of rows in a JTable. If I have 100 records I need to display 10 on the ... after each click it shows another set of 10 records. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    Whenever I set an icon for my JButton it is always not sized correctly. How can I resize the icon to fit ... = new ImageIcon(newimg); btnSanic.setIcon(icon); Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
854 views
1 answer
    I have two SwingWorker class: FileLineCounterThread and FileDivisionThread I will execute the two threads. When the ... pass the result to started thread. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
885 views
1 answer
    I am having issues displaying a wait cursor in my application. Whenever the mouse is above a panel that ... modify the behavior at the top-level container? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
816 views
1 answer
    In my program I want to draw a simple score line graph. I have a text file and on each line is an integer score, which I read ... y1, (i + 1) * 10, y2); } } } Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
765 views
1 answer
    I want to create a auto-suggest text box which would query the database at each key release event. That part is ... better idea or a standard way of doing it? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
782 views
1 answer
    So I am creating a basic application that I want to have a JLabel at the bottom of the screen that starts at ... is flawed, so any help would be appreciated. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
916 views
1 answer
    I have a PNG image and I want to resize it. How can I do that? Though I have gone through this I can't understand the snippet. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
931 views
1 answer
    I am using JProgressBar to show progress. But, How to show the progressBar as loading from 0 to 100? I got ... anyone edit the above code to work. Thank you. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...