awt
Embedding a JFrame in an Applet
I have found an open source application that creates a JFrame to display some content. I w开发者_C百科ould like to \"embed\" this JFrame into an applet, so everything that is displayed in the Jframe w[详细]
2023-03-31 13:40 分类:问答VolatileImage JFrame on multiple screens
I have a JFrame in which I am using Graphics2D to draw a VolatileImage using this tutorial. I have mainly copied the code to see how it works, but have slightly edited it for my game. I am running my[详细]
2023-03-31 02:06 分类:问答Where is the Java TextArea paint method implemented?
I am looking for the paint method implementation for a Java TextArea component (java.awt.TextArea). I have read through the source code for the class as well as its super class (java.awt.TextCompone[详细]
2023-03-30 18:43 分类:问答How can I prevent a LayoutManager from shrinking my components too much?
How can I prevent GUI components from shrinking on resizing in a BorderLayout Manager? Is it possible to set a minimum size so that components do not shrink beyond it? It seems using setBounds does no[详细]
2023-03-30 16:43 分类:问答Let the user enter the filename
I created an interface that allows to add instances in an rdf file. I put the filepath in the readRDFfile parameter and the same filepath in Filewriter (in order to update the file when user add insta[详细]
2023-03-29 23:49 分类:问答(JAVA) Comparing a word entered by a user with another word contained in a text file
I\'d like to verify if my text file already contains a word entered by a user in a textfield. Whe开发者_JS百科n the user clicks on Validate if the word is already in the file, the user will enter anot[详细]
2023-03-29 21:18 分类:问答How do I translate an android keyEvent's keycode to something that Robot can use on a desktop machine?
As the question states, I wish to translate android keycodes to java awt keycodes th开发者_StackOverflowat java.awt.Robot can use in its keyPress() and keyRelease() methods.[详细]
2023-03-29 18:57 分类:问答Alpha Channel Blur
I\'ve got this BufferedImage object that\'s guaranteed to contain only one color. I\'m using it to display a sample image to show size, shape & hardness of a brush in a painting tool. I\'ve tried[详细]
2023-03-29 07:55 分类:问答Spawning a JOptionPane in a full screen application shows the taskbar
I have a full screen (100%, even covers taskbars) application which sometimes asks for a password using a JOptionPane with a PasswordBox. My problem is that when the popup appears, you can see the sys[详细]
2023-03-28 18:10 分类:问答I cannot remove values of data type properties in Jena
I\'m trying to remove values of datatype properties of an instance through an interface which I created in java but it does not work. It gives me an[详细]
2023-03-28 13:38 分类:问答