4,919 Topics
![]() | |
I am making a simple GUI program in java. In this program I have made a simple jFrame where there is two separate textField, one for user input number(data type: double) and another for square of the input number as answer. What I want is: * The event action to … | |
hello, I have a JAVA application for active MQ message receiving.It is based on a observer pattern. When I receive a non persistant message at my on Message functionality, it receives the same message nearly 7 times. I have a GUI where I put the messages. But as the receive … | |
I have created my GUI interface in Java and I would like to know how to add information from a pdf file. I would appreciate any help. Thank you in advance | |
I have problems with my GUI part... I have put all components on the JFrame but I would like to add some backgrounds and decoration. However, when I add background using JLabel. Everything loses its position and they are all ruined... Is there anyway to resolve this? | |
hey i have this error The debugged program raised the exception unhandled RuntimeError "underlying C/C++ object has been deleted" the code is: class qthread(QtCore.QThread): def __init__(self, x, y, z): self.x=x self.y=y self.z=z self.name="" self.m=hashlib.md5() def changeresultsig(self, text): self.emit(QtCore.SIGNAL("changeresult(text)"),text) def conssig(self, text): self.emit(QtCore.SIGNAL("cons(text)"), text) def enablesig(self): self.emit(QtCore.SIGNAL("enable(")) def disablesig(self): self.emit(QtCOre.SIGNAL("disable()")) def … | |
Simple Sound Player Goal The goal of this assignment is to implement a simple sound player. The application has been partially implemented, and you need to complete the missing bits. When you open the project, you will see the class structure depicted below. Three of the classes are fully implemented … | |
Hi I'm trying to decide which **SQLite** book to get and was wondering if anyone has used either of the ones or others listed below? I could rely on Amazon testimonials but not sure I trust them. I have never used any database software outside of Microsoft access before so … | |
actually my code is displyed var/www/html / folder contents only displayed on gui, i want to display the /home/Desktop folder contents on gui,,,....... plz any one help me....... | |
![]() | Hi All, I've developed a site for a small to medium sized company. The current website is only 3 months old. After attaining much success, the company has plans to expand its site. This is great for the business, but is a bit of a pain for the web developer … |
I have developed a contact us page and also PHP code that works perfect. Know the only problem is that after submitting the form it shows only "Message sent" on a new page. I want that after submitting the form page will redirect back to home page. It is only … | |
Now I have 2 classes. The first one is called UIController and the other one is called MainJFrame. I would like to know how to make a listener for a JFrame which has a JComboBox inside. Everytime a ComboBox submit a new data the JFrame will tell the UIController that … | |
Have you ever given a thought about installing three different type of Operating System on a single computer? Not Yet! Hmm... This sounds scary and too complex right? But You're Totally wrong! Its as simple as Install two Windows Based OS on one computer... Believe Me! Still Don't Believe Me? … | |
I'm doing a program which consists on a Test, with the following structure: 1. Question 1 rdioBtn 1 rdioBtn2 rdioBtn 3 2. Question 2 rdioBtn 4 rdio Btn 5 rdioBtn6 And so on... Each question is inside of a groupbox. What I wanna do, is to disable my "Next" button, … | |
Hello. I need to simulate a button click with a Timer. That the action performed by the button, repeats every 60 seconds. I've never use timers, any help? | |
I am new to java programming. I am trying to create a GUI which includes JLabels, JPanels, JButton, text fields and labels. I am not using layout manager. Is there a particular structure in laying out the code that I should follow.? Thanks . | |
The Application should be able to add an entry , view an entry and delete and entry.. All other functions are working properly but my applica tion cannot delete.. Please assit where i shuld place my delete method import com.jjpeople.addressbook.action.actionresult.ShowAddressActionResult; import com.jjpeople.addressbook.actionargument.ShowAddressActionArgument; import com.jjpeople.addressbook.actionargument.DeleteAddressActionArgument; import com.jjpeople.addressbook.businessdelegate.AddressBookDelegate; import com.jjpeople.addressbook.businessdelegate.AddressBookDelegateException; import com.jjpeople.addressbook.businessdelegate.AddressBookDelegateImpl; … | |
When "ENTER" button in value class clicked the show class wil be run. but nothing happend import java.applet.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; /*<applet code ="value" width=200 height=200> </applet>*/ public class value extends Applet { private JLabel lab1; private JButton btn1; public void init () { // Construct the … | |
I havent done java in a while and not sure what to do with the void methods please can someone help me out thanks whole thing is in a zip file as well done in bluej as there is a long list of code here. /** * class Player * … | |
This program is one part of the GUI part for my reminder program. I would like to update the JTable which shows all the task and will refresh every 2 second. I have questions... (1)the SwingWorker never executes( I put println in the code but it shows nothing ) How … | |
im a begginer with the gui code , i tried to add an image by making an imageicon then adding it to a Jlabel nd finally adding it to my frame all this while trying to put a button in front of the label but i cant seem to get … | |
hey guys, im building a small prediction software, the GUI is in PHP and i want to do the data crushing in C. (sequence, matrix and multiple variables isolation) i know the basics in C, but im no C expert. Is it possible to pass from C to PHP other … | |
I tried to convert this GUI to a JApplet but then I get the error message. > D:\JAVA\PROGRAMS\whiteboard\whiteBoardapplet.java:9: error: whiteBoardapplet is not abstract and does not override abstract method actionPerformed(ActionEvent) in ActionListener > public class whiteBoardapplet extends JApplet implements ActionListener > ^ > 1 error > > Tool completed with … | |
hey i heard that there is something called qt signals you can use it to change the GUI out side the main thread coz when i try to change it i get an error that i cant change the gui out of the main thread but i need it to … | |
I wrote a class called Creature.java that creates a random creature object with various body stats. The Creature class extends MonsterGUI. I used Netbeans to create a new jFrame form, called MonsterGUI.java to create a GUI to display the creature objects' stats using jLabels. In MonsterGUI I have a private … | |
i having trouble adding the JSeparator into GUI. It just won't come out =( i write it like this, but nothing happen... JSeparator separator = new JSeparator(SwingConstants.HORIZONTAL); pane.add(separator); | |
Hi guys, I have some problems regarding textbox and radiobutton. My GUI design is like this: I have a textbox, 3 radiobuttons and an enter button. My first question: how can I make the enter button only visible if the textbox is filled and the radiobutton is clicked? If not … | |
Hi, I've just finished my c++ class (mechanical engineering) and as the final exam we have to create a simple program with graphical user interface and I need some help from you guys. T**he task is this**: we have to make a simple GUI that can take the diameters of … | |
I have problems with adding images to JFrame java application. Now I am using Eclipse IDE. Below is the code that no images is shown. import java.awt.BorderLayout; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JFrame; public class LabelDemo { public static void main(String[] args) { JLabel northLabel = new JLabel("North"); ImageIcon labelIcon … | |
/* * @author JDickerson * Created on 4 Aug 2008 */ package com.jjpeople.addressbook.gui; import com.jjpeople.addressbook.lineformatter.LineFormatter; import com.jjpeople.serviceworker.gui.GuiException; /** * This application uses a Service to Worker pattern which is located in the * package: com.jjpeople.serviceworker * <p> * This interface models the Gui. * * @author JDickerson * Created on … | |
How to share variable between multiprocessing and Pyside application. I am a newbie.Can anyone help me?Any suggestion will be appreciated.Thanks very much. This is my demo: #!/usr/bin/env python #coding:utf-8 #demo:pyside gui application communicate with multiprocessing.Process() import sys,time import multiprocessing as mp import logging,logging.handlers from PySide.QtCore import * from PySide.QtGui import … | |
Hi, Can you tell me how can I make my application recognizes when the user presses a button on keyboard? *For example*: presses 'S', application prints "Hello.". I need this information for BorlandC++, but it would be useful even though you provide the same for VC++ :) *(I am not … | |
So I have been working on this dice roller for a while but am stuck. My form looks like this, a comboBox1 where you can pick numberOfSides on the dice, a textbox1 where you type the numberOfTimes it shall roll the selected dice, a button1 and a richTextBox1 to display … | |
Please tech gurus Help me ! Please help me urgent iam total newbie in MySQL and in PHP actually i want to auto generate user id if gender male selected in radio button than user id will be m00001,m00002,m00003..... like this, if gender female selected in radio button than user … | |
# How do i do a previous and next buttons with ajax and get different results on same page? # Im fairly new to coding so i need some help. im trying to build a web site for geology ( rocks, etc). My concept is this. How do i use … | |
Hey guys, I'm trying to develop a simple tool. I'm having but I'm having trouble accessing some swing components. My gui basically has a jtabbed pane with two, jbuttons beneath it. Each tab is identical except for the title, it has a jtextarea and two jbuttons. These buttons perform an … | |
Howdy, y'all! I'm trying to make a simple little game, but redrawing the game board is a lot stower than I'd like. Any suggestions to optimize my code? I'm using a Console program because I'm still a novice and am not ready to tackle a real GUI yet. Here is … | |
hi .. i make this code .. but when i run it ..doesn't show whole output in window ..and its not show correct answer .. i can't find error / but its not worked welll /* * To change this template, choose Tools | Templates * and open the template … | |
hi, i am a complete newbie on software development onlt a couple of weeks, currently working through a manual and one of the chapter challenges is to create a number guess game in a GUI enviroment. been trying to look for tips on the web to no avail. i am … | |
I am working on a project where i need to dynamically count how many buttons need to be added to a certain panel. Each button press has to change a variable in the parent class and then to excute generation of a child panel which also dynamically generates buttons. my … | |
I borrowed this from C#, where you can easily send output, that normally goes to the ugly black console window, to a nice looking Windows MessageBox with an OK button to close after you read your results. You can accumulate your output in a string to send to one message … | |
#Administrator Console# I am Making a Noob-Proof GUI Administration Control Panel, and I Have, Log Off User Shutdown (With User Selected Amount Of Time) Quick Shutdown (Shell ("shutdown -s -t 00") ) Reboot Computer and I Need the following: Disable TaskManager Disable Command Prompt Disable internet Disable My Computer and … | |
Hi guys, So I'm making a random sentence generator that takes subjects, predicates, etc. from user input, stores them, and then randomly chooses one value from each category and prints it in a textbox. Or at least, that's how it's supposed to work. But I just can't seem to get … | |
i have a error in this program...i m tryin to write a java GUI program that converts character to corresponding integer and vice versa...tis is my code...can anyone help me solve the error???the error is : 1 error found: File: C:\Users\Kumaresen Nair\Desktop\Conversion.java [line: 58] Error: The local variable word may … | |
i have a error in this program...i m tryin to write a java GUI program that converts character to corresponding integer and vice versa...tis is my code...can anyone help me solve the error???the error is : 1 error found: File: C:\Users\Kumaresen Nair\Desktop\Conversion.java [line: 58] Error: The local variable word may … ![]() | |
Evening to everyone. I have a new project that is rather lengthy, but I am almost done with it. Sorry about the long read, but I was hoping to answer any questions that you may have upfront by posting all that I know about this project. Thanks Here's the assignment: … | |
Hi, been sometime since I posted here... Okay strait to the point: I'm having trouble getting my head around coordination system for a game. So lemmy explain a example; I use panda3d which uses python, ofc i'm programming in python. So the question. I want to create a coordination system … | |
I am basically trying to make a TicTacToe game in Netbeans GUI builder. I have nine(3x3) buttons to show a grid for the game and that's where you mark X and O's. I want to make it one player game. I wanted to know how to make an array of … | |
Hey all, I want to write an application that I can run from the console where it loads settings from a config file. I also want to be able to double click on the executable and obtain a GUI where I can specify settings that will be stored in the … | |
Hello, I would like to create my own slot machine from my PC. For that I am looking for some slot buttons that can connect to USB, or for some separate keyboard letters to connect through USB ( EG : I would need a hardware with USB plug , that … | |
Im having a difficult time finding info on how to set up a combobox listener for my project. My book has 1 example and it uses audio files.(no help) My project consists of a GUI panel with a splitpane that that has a list of info on the left for … |
The End.