4,919 Topics
![]() | |
I recently wrote some code from a code snippet from my java programming textbook as a way to pass the time, and since it works fine in console, I assumed that it will work fine in a GUI application. The code: [CODE] import java.net.*; import java.util.*; import java.io.*; import java.nio.*; … | |
I need help getting UI to work with my File System [CODE]import java.awt.*; import javax.swing.*; import javax.swing.JLabel; import javax.swing.JTextArea; import javax.swing.JTextField; import java.awt.event.ActionEvent; import java.awt.event.*; class UI extends JFrame implements ActionListener { private JButton format = new JButton("Format Disk"); private JButton mount = new JButton("Mount Volume"); private JButton createDIR = … | |
Hi, I've gotten this program to work but I want to format it differently. I feel like I've tried everything to make the changes that I want but they just don't work. I think I may have the right idea on most of what I want to change but keep … | |
nevermind. it's 6:30 and i forgot to save the class file in the same place. :||||||||||| | |
hello there u said if any body need help u can help them so plz i need ur help with this i did a program in java gui (temperature converter) and i just need the program to print the result in a text file so plz plz plz help me … | |
Hi, i am currently developing a standalone aplication in python, i am very new in this language so i don't know much of it... I need your help, i need to know a way to communicate python and AS3 so i can move the animations with some data that comes … | |
Hi everybody, I'm trying to make a program that goes through a directory and checks for broken links. Unfortunately it isn't working: [CODE] // Main.cs using System; using System.Collections.Generic; using Gtk; namespace LinkMonkey { class MainClass { public static void Main (string[] args) { bool cli = true; bool recursive … | |
Hi, please i need help with this code: public void addCompetitor(String firstName, String lastName) { // TODO Implement this method } and this: public void deleteCompetitor(String firstName, String familyName) { // TODO Implement this method } | |
This is a MenuBar class which is supposed to assemble a Menu bar.. basically i have some JMenus which contains some JMenu items here... and add all the JMenus to this class which is the bar (sorry if this is confusing) i am trying to write a public method to … | |
Hi everybody, first time writer, looong time follower. I've been given an assignment to write simple c++ code and make exe app out of it. It's purpose should be to check particular folder structure on running system and compare it to the some reference files and folders. Point is to … | |
Hi, I recently started programming in c# and I was wondering: How am I able to create a "builder program"? For example: I have a windows application with some strings that have to be customised by every person, I would like to have a GUI apart from it that allows … | |
This one has got me completely, i cant see why the notebook doesnt show, i wanted the gui interface i have already built to show on page 2 of the notebook, but for some wierd reason the page just comes up empty, and it is really baffeling me. Can anyone … | |
I have written a Progress 4GL GUI program that automatically opens a Excel worksheet. But i get an error when the rows are more than 65000, even though i run it on Excel 2007 which has more than 1 million rows. I am told it has to do with DLL … | |
Dear All, I would like to change the content pane of frame after pressing a button by the method: frame.setContentFrame(newContentFrame); However, after press the button, the Frame is frozen~~ How can I make it work? THANKS A LOT~~ [CODE]import javax.swing.*; import java.awt.event.*; public class Test{ JFrame main; JPanel panel1; JPanel … | |
Sorry for thee length but i have seven classes for this program. I took several functions and modified them to create a gui interface. I created a JFrame with 4 tabs that contain text only, then i have a 5th tab that has functional JButtons that when selected should prompt … | |
Got this project and started with some guide, you guys think im heading in the right direction? also how would I bring up the 10 channels when the guide function is called? [QUOTE]The program always display the current mode of the Tivo: A. viewing live channel B. channel recording C. … | |
Hey guys, here's a simple one: I'm developing a load test suite (for GSM networks) at the moment and i have scripts that create traffic patterns and all that. I am developing a GUI for the test suite that dynamically adjusts the layout and controls which are displayed on a … | |
I've been having problems with my form program while trying to call data entered into a text field and displaying in a GUI after pressing a button. Here's my code. [CODE]import java.awt.*; import java.awt.event.*; public class ProjectForm { public static void main(String[] args) { Frame frm=new Frame("Personal Information Form"); frm.setSize(350,200); … | |
/*None of the buttons except create and clear work can someone help please , can anyone help me with the parts i have missing , the account and date test class work fine i just need the bank account GUI to work properly , here is a detailed explanation of … | |
hi i have completed my project on disk scheduling using graphics & i am thinking of creating a little graphical user interface but i am confused on how to go about it.....(i have done my project on dev c++ using winbgim).....tell me how to create a less complicated graphical user … | |
Hi. I am having problems connecting and the use of DAO Could someone start me off to find problems that are conceptionally wrong with the structure? [b]error [/b] if the connection is made and database is built (DerbyDAO) then the InstructorDao SHOULD become JDBCSchoolofdbDAO and return "profile" which will allow … | |
Hi, I want to ask you, how can I do that this program will be finished by pressing of enter? Please help me. I tried it and it is writted in this program, but no effect. THANKS [CODE] #include "SDL/GUI.h" #include <stdio.h> #include <windows.h> int main(int argc, char* args[]) { … | |
Hii, I am working on a php-mysql GUI..MY problem is iam asking the user to input the number of fields he wants on his new table.According to the number inputted dat many number of text boxes should come on the screen .How can i do this ?Is there any way … ![]() | |
import java.awt.*; import java.awt.event.*; import java.text.*; import javax.swing.*; import javax.swing.border.*; import java.util.Arrays; import java.io.*; public class BankAccount extends JFrame { // Make these variables publicly available String file = ("THUS.txt"); public static String acctNumber ; public static String custid , acctDateOpened; public static double balance ; private static final String … | |
Hi, I'm trying to hide 5 to 12 buttons on a form until a screenshot is saved to the clipboard. I have it set right now so the user clicks a button(btnSavePDF) and then whichever buttons are visible are made not visible. But I haven't a clue how to restore … | |
Hi, I have been working on a Reversi/Othello game using QT and have got stuck when trying to implement a new game function which will return the game state back to its original state. reversigame.cpp [CODE]/** @file reversigame.cpp @author Rob Charrett @brief ReversiGame implementation. */ #include "reversigame.h" ReversiGame::ReversiGame(QWidget *parent, Qt::WFlags … | |
Ive been working on this for a while, and still am quite stuck. I've got the menu code done and it causes no problems, but as for organising the screen for the remaining two sections I am still having trouble. Im using the .grid() setting, and am thinking if I … | |
hi all I am creating a Visual basic gui which shows an databse which has been created by using the microsft access database feature within visual basic 6. here is the problem i am close to hanfing in my project when i try and use the .exe on another computer … | |
Hellow. Am new with java programming. i have created GUI frame and the database but i dont know how to retrieve data from the database table and how to write data into the database table. Please can any one help me as soon as possible. | |
I want to send an email from localhost but I don't know how to install mail server, so I do this way: [CODE=php] <?php ob_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Gui mail su dung PHPmailer and gmail</title> </head> … ![]() | |
![]() | Design a GUI program in Java to perform search, check-out and return of books for a library. Thank You |
i am trying to create a tic tac toe GUI but i am having trouble...here is my code: [CODE]import javax.swing.JFrame; public class TtTDemo { public static void main(String[] args) { JFrame frame = new JFrame ("TicTacToe"); frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); frame.getContentPane().add (new Main()); frame.pack(); frame.setVisible(true); } } [/CODE] [CODE]import java.io.BufferedReader; import java.io.IOException; … | |
So I need to make an 8x8 grid, that each square intitially is white, but when the mouse is clicked in one of the panels, it is changed to a random color. I started with a gui then input 64 individual panels, but is there an easier way to do … | |
I recently just stumbled across a forum where they were talking about [URL="http://winbinder.org/index.php"]WinBinder[/URL] which is a library letting developers easily create windows applications with php code. I had never even thought about using php as a not strictly web programming language. So then I kept reading about this and googling … | |
Basically, I have a price quoter that I am working on. The way it should work is: The user selects the quantity of cards from the combo box. In the textfield a price displays once selected. (i.e. 100 = $8.95). (I have this segment working already.) Next the user selects … | |
Hi guys, I have a weird issue here. I'm writing an automated backup program that, well, performs automated backups of set folders to a set location. It has a GUI and a Windows service. The service has a timer (system.timer) that checks every 10 seconds whether a backup needs to … | |
I am very new c# , the code i wrote constantly sends the data to console i.e console.writeline. the class is called generate_data i created another GUI class that contains a textbox. i want to redirect all the output of generate_data to the textbox. everytime generate_data class produces output it … | |
Basically, I am having trouble figuring out how to work my if statements. The only one that works is the final statement and that is due to it not having the [CODE]if("#".equals(e.getActionCommand()))[/CODE] statement. So, how should I go about allowing the user to select the quantity in the combobox and … | |
hi, I have a simple monopoly style board game ready (in c++). I would like to ask you how can I add additional features to the game play such as ‘chance’ cards and ‘shake again’ squares. Is it possible to create a GUI interface for this game too? At the … | |
Also demonstrate changing the text of the widgets label dynamically. | |
Hello :) My program is supposed to load some data into a buffer - but it fails. This is where i get a segmentation fault... [CODE]char* buf = new char[size + 2];[/CODE] Where my debugging tells me that size is correctly containing the value "1957" which is the actual size … | |
Hi everyone! I wrote a Python 2.5 application, with GUI from Tkinter module. To make it short, the user has to load a file and can start to work on it. I made it Windows executable with py2exe, and installable with Inno, with a file association setting. So now, if … | |
I want know if there any way to write command to cli by using c#. That because I want to write simple GUI program wich writes command like "ping" "telnet" to the CLI of windows. thanks alot | |
Well I have reflected on why my first proposal for a open source project failed. We had no base to build on, and there was to much administrivia that made us loose interest in the project. Since then I have come up with a new project idea. I started simple … | |
Hi just wondering could anyone help me with this tic tac toe game i am developing it must be a GUI and include AI for the computer i originally made this tic tac toe game without the GUI but i am just having problems converting it to a GUI as … | |
Hai all, how to have default button in a content page. currently if i hit enter ket my master page search getting fire. i also place my master page in panel. for content for also i placed the button inside panel and set panel default button. but still my master … | |
My every figure has centre point with coordinates x, y tips number radius which shows tip range from centre point. i have a drawingRule method which is for every shape i need to draw. [CODE]package business_logic; import java.awt.Color; import java.awt.Graphics; import javax.swing.JPanel; @SuppressWarnings("serial") public class Vector extends JPanel { public … | |
Several weeks ago, I wrote a simple web crawler that was designed to simply retrieve robots.txt from a range of IP addresses. It was entirely CLI based, and I had it working perfectly. As my python experience has increased, I decided to start learning about GUI based programming, and decided … | |
Dears I need your advice to make a c# application which execute UNIX commands The application procedure - connect to UNIX box - execute a UNIX script (such as <touch file_name>) from a C# GUI Any suggestions? | |
Hello.. Im doing some simple text processing using Python which include indexing, splitting and tokenizing text from folder. i want to improve the stemming and tagging process using MontyLingua by importing the Monty library for tokenizing and tagging. I dont know how to edit and call them in my coding. … |
The End.