4,919 Topics

Member Avatar for
Member Avatar for enakta13

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 …

Member Avatar for mKorbel
0
823
Member Avatar for blackmagic01021

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 …

Member Avatar for JamesCherrill
0
125
Member Avatar for kyriacos1986

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

Member Avatar for NormR1
0
56
Member Avatar for jwings

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?

Member Avatar for JamesCherrill
0
644
Member Avatar for memomk

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 …

Member Avatar for memomk
0
963
Member Avatar for SuperManofBC

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 …

Member Avatar for stultuske
0
648
Member Avatar for daino

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 …

Member Avatar for daino
0
183
Member Avatar for naaniwifi123

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.......

Member Avatar for pritaeas
0
195
Member Avatar for gcs584

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 …

Member Avatar for venkat1026
0
120
Member Avatar for kaleem_ullah

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 …

Member Avatar for cjohnweb
0
3K
Member Avatar for jwings

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 …

Member Avatar for JamesCherrill
0
95
Member Avatar for BruceSmith

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? …

Member Avatar for Tannus
0
448
Member Avatar for George_91

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, …

Member Avatar for skatamatic
0
841
Member Avatar for George_91

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?

Member Avatar for skatamatic
0
1K
Member Avatar for Maymac

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 .

Member Avatar for JamesCherrill
0
117
Member Avatar for NestaMarley

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; …

Member Avatar for stultuske
0
385
Member Avatar for subrat_p

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 …

Member Avatar for JamesCherrill
0
477
Member Avatar for king000000

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 * …

Member Avatar for JamesCherrill
0
2K
Member Avatar for jwings

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 …

Member Avatar for JamesCherrill
0
173
Member Avatar for abdu.nov1

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 …

Member Avatar for Majestics
0
151
Member Avatar for DarkMonarch

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 …

Member Avatar for DarkMonarch
0
247
Member Avatar for Johannady2

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 …

Member Avatar for Johannady2
0
187
Member Avatar for memomk

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 …

Member Avatar for memomk
0
8K
Member Avatar for MoMule

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 …

Member Avatar for MoMule
0
1K
Member Avatar for ocw91

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);

Member Avatar for NormR1
0
72
Member Avatar for carsein

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 …

Member Avatar for carsein
0
252
Member Avatar for hekri

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 …

Member Avatar for hekri
0
200
Member Avatar for jwings

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 …

Member Avatar for NormR1
0
257
Member Avatar for NestaMarley

/* * @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 …

Member Avatar for NormR1
0
384
Member Avatar for anonymous0502

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 …

Member Avatar for vegaseat
0
544
Member Avatar for MrEARTHSHAcKER

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 …

Member Avatar for triumphost
0
331
Member Avatar for Angel78

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 …

Member Avatar for PatSharbaugh
0
1K
Member Avatar for gssr

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 …

Member Avatar for pritaeas
0
331
Member Avatar for frostymoon37

# 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 …

0
156
Member Avatar for peck3277

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 …

Member Avatar for Zaad
0
145
Member Avatar for C++ Forever

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 …

Member Avatar for C++ Forever
0
148
Member Avatar for programing

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 …

Member Avatar for NormR1
0
584
Member Avatar for evvo69

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 …

Member Avatar for evvo69
0
2K
Member Avatar for sid78669

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 …

Member Avatar for NormR1
0
260
Member Avatar for vegaseat

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 …

Member Avatar for nagendra_rao
0
874
Member Avatar for Coolboy6839

#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 …

Member Avatar for JGorard159
0
175
Member Avatar for UltimateJacob

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 …

Member Avatar for Begginnerdev
0
171
Member Avatar for kumaresen

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 …

Member Avatar for NormR1
0
243
Member Avatar for kumaresen

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 …

Member Avatar for stbuchok
0
162
Member Avatar for volscolts16

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: …

Member Avatar for deceptikon
0
4K
Member Avatar for Acidz

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 …

Member Avatar for Acidz
0
207
Member Avatar for utkarshsahu

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 …

Member Avatar for utkarshsahu
0
133
Member Avatar for woodenduck

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 …

Member Avatar for NormR1
0
191
Member Avatar for nevergone

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 …

0
114
Member Avatar for jayson_g

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 …

Member Avatar for jayson_g
0
124

The End.