1. 2 input fields displaying the same thing stackoverflow.comBit of a strange one. I want to have a JTextField, in which the user will type a string. While typing, however, I'd like that text to automatically print to another JTextField ... |
2. Java newbie: Swing and displaying ASCII files stackoverflow.comG'day all, I have an application which needs to display an ASCII file of 15 lines in a Swing component that cannot be edited by the user. Below is my code ... |
3. Display CMD output in my GUI (java) stackoverflow.comHow might I get the output from a CMD process to display in my GUI? This is the code I'm using to run the process:
|
4. How do I display a java ResultSet visually? stackoverflow.comI'm looking for a way to display a java.sql.ResultSet on the screen. preferably built-into java or swing. If neither of those have a decent method that's simple, I'd consider spring. How? |
5. How do I detect if a display is in High Contrast mode? stackoverflow.comI'm testing my company's established Swing application for accessibility issues. With high contrast mode enabled on my PC certain parts of this application are rendered properly (white-on-black) and some incorrectly (black-on-white). ... |
6. Displaying a list of items with Swing from bottom to top stackoverflow.comI need to display items in a list (read-only), but instead of the default top-to-bottom way of displaying a list, I need to display it bottom-to-top.
|
7. Alternative options for displaying video in Java? stackoverflow.comAt the moment I use QuickTime for Java to display video in a swing application. However, Apple has deprecated support for QTJava and I was wondering what options other ... |
8. Java: Display an Email body in Swing stackoverflow.comIs there a simple way to display an email body in a |
9. How to display flowcharts dynamically in java? stackoverflow.comI want to develop a java desktop application that takes some inputs from the user and store it in a database. After that, when user clicks on a button (say display) ... |
10. Java: GUI component for displaying diffs? stackoverflow.comI'm writing a programm in which I need to generate a diff and display the result. Is there any GUI component out there, with which I can easily accomplish this task, ... |
11. Java app makes screen display unresponsive after 10 minutes of user idle time stackoverflow.comI've written a Java app that allows users to script mouse/keyboard input (JMacro, link not important, only for the curious). I personally use the application to automate character actions ... |
12. Java GUI component to display an XML stackoverflow.comWhat component would you choose to display XML data in a AWT/Swing Java GUI? Requirements:
|
13. Java - Custom PropertyEditorSupport to display units stackoverflow.comAll, I'm trying to make the properties of my node have Units associated with the measure. ( I am using the JScience.org implementation of JSR 275) So for instance,
|
14. Not sure how to get an object to display after loading from ObjectInputStream() stackoverflow.com
|
15. Duplicate styles not displayed by Java Swing stackoverflow.comI have a problem with a part of a project i am working on. I want to display some emoticons using Java Swing, however it won't allow me to display consecutive ... |
16. Calculation of required display space for different subclasses of JComponent stackoverflow.comFor my current project i am writing a JTable based GUI. One of the main features is the ability to adjust the sizes of all cells at runtime, depending on the ... |
17. Return actual size of JComponent, as displayed stackoverflow.comGood evening, I'd like to know how to get the size of a JComponent after it's been laid out with a LayoutManager. I've read that this is possible, if you just call ... |
18. jchart2d for displaying dynamic charts with fast updating data stackoverflow.comI want to use jcharts2d to plot fast updating data. The examples for dynamic charts in their webpage use a dummy random function to simulate fast changing data, any ideas on ... |
19. What's the best way to display a title screen for a Java Swing application stackoverflow.comI have a swing app and I want there to be a title screen that lasts for a few seconds and then transitions to the program. What's the best way to ... |
20. endless ndless list-like display/edit area with database records stackoverflow.comI am doing a pet project which needs to sync record with a JDBC database. I would like to have a endless list-like display/edit area which is 1-to-1 matched with records ... |
21. JComponent not being displayed, paintComponent not being called stackoverflow.comI have a class which extends JComponent called Cell that doesn't get displayed, and its paintComponent is never called. Here is a short checklist of things I have done in an attempt ... |
22. Display information in Java GUI stackoverflow.comThe code below is my attempt at creating a simple GUI to ask a user to input information relating to a book and display it. the problem is i'd like ... |
23. Getting a HeadlessException: No X11 DISPLAY variable was set stackoverflow.comException in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. ... |
24. java: any way to detect changes in display configuration? stackoverflow.comOne of my coworkers would like my Swing app to adapt correctly to the removal of a 2nd display monitor. Is there any way to get notification of this, other than polling ... |
25. display console result on java GUI for each class (java newbie programmer) stackoverflow.comguys..i has a simple question. is it possible to display each class console result on java GUI ? Each class has different console results..
import org.jsoup.helper.Validate;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileWriter;
import ... |
26. What's the most agile way to have the contents of a class displayed for modification stackoverflow.comIn my application I have a couple of classes, called entities, whose main responsibility is to contain data, aswell as use this data in a couple of way by e.g. display ... |
27. displaying message from console application stackoverflow.comHow do I pop up message in window from java console application?If I use |
28. Java Swing display problem stackoverflow.comI wrote a gui program in SWING but i have a strange problem. I have a frame, a panel, a menu and the components. I put all the components in the panel ... |
29. Trouble displaying custom JComponent stackoverflow.comHey guys, I'm having problems with something that seems like it should be so much more simple. I just cant get my simple custom JComponent to show up! I'm ... |
30. How to display console in GUI for java stackoverflow.comIs there a possible way to attach the console to a GUI so that the user will be able to enter commands into the console from the GUI? |
31. Why doesn't `jLabel1 = jLabel2` change the value displayed? stackoverflow.comI have two JLabels created and added one of them to my JFrame but when I assign the other one to the added one the JFrame doesn't update
how can ... |
32. How do I write logs and display them real-time in a Java Swing application? stackoverflow.comI have created a GUI program that uses a class to perform some tasks.
I would like to add logging in both the |
33. JAVA: awt on swing component displaying problem stackoverflow.comI am using java to design a GUI; I inserted a java.awt.List on a JPanel component. My program works correctly but as showing this panel I see delay and displacement problem ... |
34. How can I make an upside-down list in Java? stackoverflow.comI'd like to be able to display a mutable list (using Swing) such that the first item is at the bottom in a fixed position, and subsequent items appear above it. ... |
35. How can I display map data (prefererably using OpenStreetMaps) in my java application? stackoverflow.comI currently have an Android app that downloads map data from tile.openstreetmap.org. I then want it to be able to communicate with a server and have them share the same map ... |
36. Use JXMapViewer/JXMapKit to display a bounded map (not a world map) stackoverflow.comI'm trying to use |
37. JEditor not displaying the HTML page as in IE of Firefox..? stackoverflow.comI am using JEditor to display HTML pages. The issue is that JEditor is not displaying the pages as they are displayed in IE or Firefox. Major issue is with Paragraph ... |
38. program displays nothing when run stackoverflow.comI copied a tutorial program and made some modifications and now when i run it nothing happens. I type java Teqscene into command prompt, it waits a few seconds and the shows ... |
39. Display two-dimensional array in GUI stackoverflow.comI have a project for a programming class that requires the use of a two dimensional array. It is being done with a basic GUI (menu,buttons, etc).. I've gotten everything ... |
40. GUI will not display bytes.com |
41. Wrong display of JComponents (Java) bytes.com |
42. Netbeans displaying XML instead of GUI components forums.netbeans.orgPosted: Fri Jan 08, 2010 8:15 pm Post subject: Netbeans displaying XML instead of GUI components Hi, I recently switched to Netbeans 6.8 from 6.7 and several times ... |
43. GUI: SelectOneMenu not displayed => NullPointerException seamframework.org- Yes, I have a getName() in the bean and it works, tested it with an h:outputText - SelectItem is javax.faces.model.SelectItem - I understood (maybe incorrectly) from various sources that drop down items must be instances of this SelectItem class? - the getYearList() method cannot return null because it's initialised with dummy test values right in the bean (in the populateYears() ... |
44. Display these chars in Swing coderanch.com |
45. Display a file in Notepad coderanch.comHi, This is how I had used in my programs and it executes properly ! Process p = Runtime.getRuntime().exec("notepad.exe Test.java"); I could think of only one thing. Check the fileName that is returned by the FileChooser. On Windows it will return a filename like "c:\MyDir\Test.java". If that is the case, replace all the "\" by "\\" and see what happens. Or ... |
46. Displaying report using JTble coderanch.comHi, I would like to display the all accounts reports(balance sheet, profit loss etc...) using table(like other reportings tools(Like crstal reports). I would like to do it with jtable becoz i would like to display some other report on click of any entry in the report, which is not possible with normal reporting tool. plz help me out. bhuwan |
47. Display in chinese coderanch.com |
48. Status display coderanch.comHi all, I am implementing a GUI interface using swing. One of the requirements is to provide the status in the status bar. For example, when the program is pinging all the IP addresses within the domain, the status bar should display something like "Pinging IP addresses...". Another example would be when opening a file, the status bar should display "Opening ... |
49. Display Settings coderanch.com |
50. How to display toolbars like forte4java coderanch.comHi, Does anybody know how to display toolbars like those in forte4java and vc++. If we use the JToolbar then the toolbar is a much broader one. Also i was using Actions so that i just have to add them to the menu's and the toolbar. But i am not able to display the icons in the toolbar or the menu. ... |
51. DISPLAY HTML AFTER LOADED coderanch.com |
52. Can't enumerate display modes coderanch.com |
54. Why Swing so slow when displaying large HTML files coderanch.com |
55. components displaying on the screen coderanch.comAnother solution is to put in a pack(); statement at the end of your actionPerformed() method. That will re-calculate the size of each component, panel, and the whole frame. Your problem was NOT that it wasn't there, it was just in RAM. You needed to get it on the screen. Also, it would be a good idea to use a pack() ... |
56. Best Component for displaying XML? coderanch.com |
57. How to display the browser output coderanch.comRewording it for your/our understanding, I mean "using the rendering engine of mozilla to render html pages inside a java window" I don't think this should be a big deal and it definitely is the simplest way to render html in any window, since you have a full blown rendering engine/browser, mozilla, anyway. |
58. Displaying Files in awt coderanch.comI like to display my Files in awt window. at present i am using text box to load the files and display them. But here is the problem, as it is a text box, we can delete as well as edit the text of the files. i dont want to do that , so what option in awt should i use, ... |
59. swing display issue on Laptops coderanch.commaybe the reason is the difference in the screen resolution on lap tops. if the frame on the laptop is smaller than on a bigger monitor, and the layout is not created properly it might get messed up. to check whether this is the case, you could change the screen resolution of the desktops to that of the laptops and see ... |
60. API for displaying directory structure? coderanch.com |
61. Displaying a Huge Vector Quickly coderanch.comHi, I am trying to optimize the display time for a large (8000+ element) Vector. Each element of the Vector contains an Array of Strings returned from a search on a XML document. I am currently displaying the contents in a (JTextArea text), by iterating through the Vector start to finish and calling text.append(""). This process takes significantly longer than a ... |
62. Displaying .TIF coderanch.com |
63. How to display aisan language in Swing? coderanch.comI'd like to design a Java GUI, whose Textfield can display different language characters depends on the language choice given by the user. As i know the font.properties is given from JRE/lib, I can rename the filename with other font_xx.properties before run the JVM, but I want more flexible in GUI. Is there any possibility to let me dynamic load/change this ... |
64. Synchronized display of volatile data. coderanch.comIs there a good (read: efficient && simple) way to set up variable monitoring? As in, consider a situation where you have a single variable (or set of variables), and each one can be updated by multiple sources. As an example, lets say we have a currentlySelectedObject, which can be updated by clicking on the object on the screen, clicking the ... |
65. Efficent way to display HTML? coderanch.comI currently have a Java application that fetches data through JDBC. My current method is to have a StringBuffer append the data it fetches and then do setText(Stringbuffer.toString()) in Jeditorpane. r = sqlquery.executeQuery(query); while(r.next()) { content.append("("+r.getString(1)+":"+r.getString(2)+")"+r.getString(3)); } editorPane.setText(content.toString()); While this works, sometimes the size/amount of the html text it retrieves can range up to 200K. All the appending with string buffer ... |
66. getting an element name from the HTML Display coderanch.comHere is the Scenario- I have a XML file which is displayed as an HTML file. I want to select some content of the HTML file, and would like to get the information selected, as well as the information about the node or leaf from which the content CORRESPONDS to (in the XML file). |
67. How do I display PrintWriter output in a swing component? coderanch.com |
68. Suggestions on how to display data coderanch.comHi. I have an application that is in a JFrame. This JFrame has a vertical split pane on it. On the top half of the split pane, is an order search. On the bottom half will be an order inquiry displaying additional information about an order the user may click on from the order search. My problem is, I can't really ... |
69. control to display HTML coderanch.comHello I am trying to develop and ebook program in Visual J++ I am thinking to use an HTML control to display content, I found com.ms.wfc.ui.HTMLControl but don't know how to set it's content. Only I managed to make it load an HTML file. What can I use to show content created dinamically? Thanks |
70. displaying child nodes on demand coderanch.com |
71. A message display coderanch.comHi, I have 2 buttons- b1 and b2 on the top panel of a frame. On clicking on b1 or b2 , I want to display a message the bottom panel of the frame as the case may be. Which is the class/ method I can use to display the message in the message? For eg- on clicking b1, I want ... |
72. Displaying database in a GUI coderanch.comOkay first Im not completely sure this goes in here so I apologize if I made a mistake but anyway here we go. I have been working on a database program which stores calles and sorts the infomation stored in the database. I was finally able to get it working but my problem is this I can't get the database to ... |
73. Display GIF file in JAVA application. coderanch.com |
74. Displaying reports using HTML? coderanch.com |
75. Problem displaying.. coderanch.comHi, I need to have the "IF" statement to check if the "date" , "month" , "year" selected, is according to the data stored in TextFile named ("Appointment.txt").. For example: ~ If "2" , "february" , "2004" is selected, the program would check in the Textfile [ 2;february;2004;1.30am;Lunch-break ] and display the date (2/february/2004) in JTextField "dayInput" , time (1.30am) in ... |
76. *Urgent* Display SQL search results in a tabular form coderanch.comHey guys! I have a huge question. I am implementing a simple UI that the user can input some query for a DVD database, and the UI displays the result in a rather neat tabular form. How can I do that? What I have now, is just a simple from-the-book blank search fields that allows the user to type in keywords ... |
77. Table Header not displayed coderanch.com |
78. display Hindi langauge coderanch.com |
79. Input Display coderanch.comHere's something to play around with (it's rough) import javax.swing.*; import java.awt.*; import java.awt.event.*; class GUIapplication extends JFrame implements ActionListener { String userName = ""; String subject = ""; JButton btn = new JButton("Start"); JLabel lbl = new JLabel(); public GUIapplication() { super("GUIapplication"); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setSize(300,125); setLocation(300,200); Container frame = getContentPane(); JPanel jp = new JPanel(new BorderLayout()); setLabelText(); btn.addActionListener(this); jp.add(lbl,BorderLayout.CENTER); jp.add(btn,BorderLayout.SOUTH); frame.add(jp); ... |
80. Reading lines from file and display? coderanch.com |
81. Display xml file in Pane coderanch.comHi Thomas, Well, why do you think it should display the contents? Have a look at JEditorPane javadoc. As to 1.4.2 it only supports html, rtf and txt. You are not exactly specifying if you want to display the xml source or what? If it is the source, display it as text/plain. If you want to see the html (or whatever) ... |
82. Please tell me how to display value on Y axis in this code coderanch.compackage com.Charts; import java.awt.*; import java.awt.font.*; import java.awt.geom.*; import javax.swing.*; public class ChartPanel extends JPanel{ private int[] values; private String[] names, namesy; private String title; private int barWidth; public ChartPanel(int[] v, String[] n,String[] m ,String t) { names = n; namesy = m; values = v; title = t; } public void paint(Graphics g) { super.paint(g);System.out.println("******"); Graphics2D g2 = (Graphics2D)g.create(); // ... |
83. Displaying data on screen coderanch.comHello I hope this is the right forum to post this question. How do you display a list of items in a scroll pane after you read them from a database. e.g. Suppose you have a list of people in a database table called People. The columns are First Name, Middle Name, Last Name, Gender and Date of Birth. I can ... |
84. Problem - Display coderanch.com |
85. Displaying superscripts/subscripts in a Swing app coderanch.com |
86. Newbie, Please Help: Why can I not get the numbers to display coderanch.comI have to write a program that shows three stations that collect numerical data for rainfall. I suppose to be able to put the number in and click enter and the number will show up in the box beside the input box. Then the input box goes back to 0.0, and anytime I add a number to it, it totals to ... |
87. Won't Display coderanch.comHi, I figured out why it is not appearing. You have to change the main method. public static void main(String[] args) { inventFrame frame = new inventFrame(); frame.show(); frame.BankingGUIFrame(); } BankingGUIFrame() is a method and it is not a constructor, so it will not be automatically created when you create an object of the class inventFrame. To call that you need ... |
88. Calling existing Display from another process. coderanch.comHi I am making a standalone swt project in which I need to build a blank screen(Display) from a main class. Once I have that screen I want to refresh that from another program. Can I do that in swt. I am trying to use Display.getCurrent() & then use the value of resulting display to get the handle of the screen. ... |
89. Visualy display of dtd content coderanch.comWell if this is ever of interest to anyone else. The best thing I've been able to come up with is a tree structure+ custom icons to denote cardinality, and each parenthetical grouping getting a new node with a name distinguishing it as either a list of choices(or), or just a sequence (commas/ands). -Tad |
90. Any way to redirect DISPLAY within a Java app??? coderanch.comHi - I've got a Linux app that needs to be able to talk to multiple different X servers at once. I'd like to be able to code it in Java/Swing. Is there any way to set the X11 DISPLAY at run time (e.g. to talk to "server1:0.0" one moment, then "server2:0" the next)? Thanx in advance .. PSM |
91. Displaying DOM using swing coderanch.com |
92. Where can I find a Dial component (to display network traffic) coderanch.com |
93. Displaying gifs... coderanch.comThe soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - ... |
94. Displaying html file in Swing? coderanch.comI'm looking for a Swing widget that displays an HTML file. I don't need something real fancy, but support for CSS would be great. Also looking for something open source. Any suggestions? Thanks, Landon (When loading a file in my application I want to display a simple html file describing the file the user has selected in the chooder dialog.....) |
95. display 2 popupmenus at the same time coderanch.comsuppose i have two popup menus a and b which they can activated by the mouse events, for example: popup A with the left button and popup B with the right button. I would like to make visible popupup A and B, may not at the same time but they must remain visible. another sample, I want two combo boxes to ... |
96. How to display multiple detail records in a master-detail form coderanch.com |
97. I want help with display coderanch.comsee if this is any closer to the display you want import java.awt.*; import javax.swing.*; import javax.swing.table.*; class GridTable extends JFrame { public GridTable() { setSize(500,400); setLocation(200,100); setDefaultCloseOperation(EXIT_ON_CLOSE); JPanel northPanel = new JPanel(new BorderLayout()); JPanel westPanel = new JPanel(new GridLayout(4,1)); westPanel.add(new JLabel("JDBC Driver:")); westPanel.add(new JLabel("URL:")); westPanel.add(new JLabel("Select Table:")); westPanel.add(new JLabel("Records:")); northPanel.add(westPanel,BorderLayout.WEST); JPanel centerPanel = new JPanel(new GridLayout(4,1)); centerPanel.add(new JComboBox()); JPanel urlPanel ... |
98. Why are no components displaying? coderanch.comI'm just experimenting with setBounds() and setLayout(null). But the following code doesn't work unless the scrollPaneHolder.setLayout(null) line is commented out. Does anyone know why? (What I am trying to achieve is to set the position of the scrollPane manually so that it's grey border is not visible.) Cheers, James import java.awt.*; import java.applet.*; public class BoundsTestApplet extends Applet { public BoundsTestApplet() ... |
99. Anybody? *Can* one display "nested data" in Swing??? coderanch.com |
100. File save and display in Swing coderanch.com |