4,919 Topics
![]() | |
I am creating a GUI program with java and when I run it, I get this stack of errors. [CODE] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at ButtonPanel$AllocateListener.actionPerformed(ButtonPanel.java:52) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6263) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at … | |
I the following program, can someone please explain these two lines. "def __init__(self, master):, & Frame.__init__(self, master)" One other thing. Shouldn't the method "update_count" use a return to return the new count? thanks. [CODE]# Click Counter # Demonstrates binding an event with an event handler from Tkinter import * class … | |
i want to about C and C++ project? show me a window GUI project for me i not understand about this i make project for my frist learning it include main.c , .h, .rc ,and i not know about this please explain me ,if possible tutorial for me sorry bad … | |
Hello Everyone and thanks for looking, i really need help and any given i thanks i advance~ The problems all started after Microsoft ran a scan with with Hijackthis to solve a blue screen and Malware problems. My control panel will not open and when i try to access my … | |
can u help me how to connect to MS Access database using java codes?? import java.applet.Applet; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.lang.StringBuffer; import java.io.IOException; import java.io.*; import java.sql.*; public class sample1 extends JFrame { private DataPanel myDataPanel; private Connection dbconn; private static int numPeople=0; private static String info; … | |
[code] this is the simple program that i write import javax.swing.JLabel; import javax.swing.JTextField; import javax.swing.JFrame; import java.awt.FlowLayout; public class ShowFlowLayout extends JFrame { public ShowFlowLayout() { setLayout(new FlowLayout(FlowLayout.LEFT,10,20)); add(new JLabel("firstname")); add(new JTextField(10)); add(new JLabel("MI")); add(new JTextField(10)); add(new JLabel("Lastname")); } public static void main(String[] args) { JFrame frame=new JFrame("ShowFlowLayout"); frame.setSize(400,500); frame.setLocationRelativeTo(null); … | |
Hi, I am having trouble producing my chart in the wx python gui. Keeps giving me an "ABORTED" message. Could you help if possible please? Code below : [CODE]import wx import cx_Oracle import datetime import wx.grid import csv import numpy as np import matplotlib.pyplot as plt import matplotlib.mlab as mlab … | |
Hello, I am fairly new to python and in process of taking a class on Natural Language Processing and the language itself. I would sure appreciate any help at all on this current assignment. I'm having trouble trying to understand how I should start this program or how it all … | |
![]() | Hi guys, I saw quite a few posts regarding this but I was unable to solve this problem that I am facing. First off, when I do the following in my setup.py, windows=[ { 'script': 'gulhane.py', 'icon_resources': [(1, "icon.ico")] } ], Python crashes and I am unable to run the … ![]() |
![]() | I am trying to learn how to design a gui for a linux kernal. Is there any tutorials on how a gui works on an operating system? I am not completely sure where to start. The only other thing is that I can think of doing is getting the source … |
hiii all.... i want to learn C++ GUI based programming.... i want to know how to make Text field,buttons,label,etc... in c++ is there any web resources????? pls help me out..... | |
MySQL database server is running on ubuntu. I have installed an GUI for everybody in office to access the database called Navicat. It uses ssh to access the database. It was working on almost everybody's machine week back. Now its not working on few machines and I am not sure … | |
hi all i dont know vb or vb.net .i want to learn.Before starting anything i have a very basic problem..... i have seen there are many windows application(.exe).many of them run wihout installing .Net Frameworks. bt there are also some application which doesnt run without installing .Net Frameworks. my question … | |
Hi all, I can convert my .py or .pyw files into EXE no problem. The thing is they only display a console for about a tenth of a second if they have a GUI made with tkinter. If it is a console only program then the exe works fine. Any … | |
....Can anyone knows how to put some functions that if I run my program, the menu will disable my logoff menu, Maintenance and emloyee and the auhtor.........but if i press my log in it will enables the log off menu, Maintenace and employee and the author itself.... then the log … | |
hey all.... I already know C++.But now i want to make some GUI based application(like calculator....etc) with C++. I have decided to do that with c++ bcoz i think,application(.exe ) made by c++ is the one one which can be run without any kind of frame work installed in computer.(Example...VB.Net … | |
![]() | Hey guys, I have made a small program called 'Py-mailer' which allows you to login with your Gmail credentials and send text-only messages to anyone. I uploaded it on SourceForge( [url]http://www.tinyurl.com/m4ans4[/url]). The next step I had to take was to make a GUI for it. So, I started with wxPython: … |
I have just started getting into python and Tkinter and so far it's all been very interesting and the help good to, but now i have ran into a problem. I'm sure it's very easy to solve but i just can't seem to figure it out or find anything on … ![]() | |
PROBLEM ANALYSIS 1. To calculate how many liters per vehicle fueled and convert it to price. 2. To calculate the sales of the fuel from beginning to ending of one shift. 3. To calculate sales inventory. 4. All the consumer purchase diesel and unleaded must be recorded and save for … | |
As discussed on this forum, I'm not looking for a quick answer, just an explanation on why what I have written is not working and a point in the right direction that will make this program work. Problem: Purpose of this program is to create a GUI that presents to … | |
Hi , I am studying C programming.I am suppossed to do a task whic is - if we place an object of any shape or size on a scanner ,the program should foud the pixel of the object placed . Then it should calculate the exact area of the object … | |
Hi, I have some experience with C++ and FORTRAN. I would like to write software to help me visualize shapes in a GUI-based program. Where is a good place to start? Books, websites, etc that would help me get an idea of what is needed would be good. Thanks! | |
Hello everyone, right now I'm taking a java class, and I'm having one error in my app. Right now I have to .java files, one which calls the methods from another .java file. When I compile the first java file, it doesn't give me any error. But when compiling the … | |
Hello daniweb. I'm working on a Poker Holdem Application and I'm trying to work on a view/jframe for it. Everything was running smoothly until something weird happened. After deleting an old hand-coded MainFrame which extends JFrame file, I tried to create a new MainFrame/JFrame file but this time using netbeans … | |
An International market maker seeks C++ and C# developers to build out proprietary trading applications in both a windows and Linux environment. This firm has been growing steadily over the past couple years and have open development roles on their Market Data, Connectivity, Business Intelligence, GUI, Data Analysis and Speed … | |
[code=c++]class StripChartWindow : public PegDecoratedWindow { public: StripChartWindow(const PegRect& Rect, const PEGUINT TitleId); virtual ~StripChartWindow() {} virtual PEGINT Message(const PegMessage& Mesg); private: PegStripChart* mpChart; PegStripChart* mpChart2; PEGUBYTE mID; PEGUBYTE mSin; PEGUBYTE mID2; PEGUBYTE mSin2; };[/code] This is the part which is givin me errors as below... error C2143: syntax error … | |
Hello. I've been using NetBeans for quite a while, and I really like the Draggable components that it uses. In both the GUI Builder & the GUI itself. So, my question is, How do you drag components around in the UI like that? I've looked into the java.awt.dnd package, and … | |
Hi All, First off my name is Tor Arne Svortevik, but just call me Tor. I have been interested in computers since my first ZX Spectrum (1984) Currently I working with database programming. Got interested in Linux recently and are now exploring GUI programming. It has been a bumpy start … | |
Is there a simple game program in which you have X * Y matrix (the actual game is played on that simple table field) in a standard windows GUI (fullscreen option is not needed), so the fields in that table-like grid of game are filled with small static icon-like square … | |
I need to display the loan table with the annual interest rate, monthly payment, and total payment for the number of years entered. When I run my program, it only displays the info for 8%, when I need to display all interest rates from 5% to 8% in increments of … | |
I am making a poker game using pyGTK. My problem right now is that the other players won't let me play! Each player has a function for betting and they go in order such as amandaBet(), playerBet(), billBet()... where player is you. Since this is a GUI game, I am … | |
Hello I am trying to develop a small program that will periodically (say every 6 hrs) calculate my ISP broadband speed (both up and dn stream) and display on my router GUI's WAN page. I am thinking of say, start a Linux timer, start down/uploading a file of a known … | |
What's the simplest way of being able to build Qt Applications using C++? notepad? specific IDE? HOW do I do it? Can someone PLEASE walk me through it. I found instructions online for integrating MS Visual C++ with Qt. I ended up taking 5-6 hours out of my time to … | |
With all the libraries available that have emerged, Java and Ajax applications practically build themselves these days. This week Java tool maker Instantiations added support for Ext GWT to [url=http://www.instantiations.com/gwtdesigner/]GWT Designer 7.2[/url], the latest version of its Eclipse-based drag-and-drop GUI-building environment that can be had for as little as $5 … | |
Uncaught error fetching image: java.lang.NullPointerException at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:99) at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:113) at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.j ava:240) at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172) at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136) [CODE]import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.FlowLayout; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.Image; import java.awt.Toolkit; import java.awt.Dimension; import java.net.URL; class Inventory { String number; // item number String name; // item name int … | |
Hi, Would anyone help me out the problem with layout components in java. I have 3 tabs, and first tab1 I have setted up with panel 1, tap2 with panel 2, but I couldn't set up component for panel 2 such as: Active panel problem display number display textarea textarea … | |
i have dell vostro 1000 with win xp OS, bought an zonet external wireless usb card, installed its driver from CD; after that windows login screen GUI changed, and after couple of days this security alert message popped up in my laptop but in a different language which i can't … | |
how do you add a key listener to a java GUI? can anyone pls show me how... or at least give an example..pls:) cause I want to add a key listener to my GUI calculator but I don't now how or where to put it and stuff...:-/ thanks... | |
Been meaning to ask that question for a long time. With Visual Studio 6 I seem to recall I had to include iostream.h to use the CString class. Do I have that right? I think I also had to specify in a configuration dialog that I wanted to either link … | |
I use the IDE Netbeans and as a personal project I want to create an application in java similar to "Mac OSX" dock bar. I dont know how to run the coding using the GUI...all I have done so far are database structures and commandline programming. I will need to … | |
Hi. First of all, I am new to C#. I have made this simple C# remoting example, based on a couple of tutorials I have read. The problem is very simple. The remote object that my server created, has to have a method, that can edit, lets say a textfield, … | |
My code runs fine, but I keep getting this error message: I would like to change this logo from a paperclip logo to a book logo, my code is under the error. Can you tell me what's wrong and how to change it to a book logo? Uncaught error fetching … | |
Hallo to all, I need help on how to put a radio button on the coordinates I want. . .I have this map program and I want to place the radio button on the specified place on the map. I don't know how. . .I have attached an image of … | |
Good day.! This will be my problem regarding on how to update the listview when one of the data in the field in sql server tables has been changed.basically, i have achieved the result by looping on the table continuesly with a timer. But is there any other way to … | |
Folks, I was trying to learn Python, I finished the basics,- Conditional Statements , loops, Functions, Classes. I want to try some GUI designing. I have downloaded Django. I use Python 2..6.2.. Where should i head next.. | |
I have an idea for a gui application: 1) the user can enter the error they are getting &/or the programming language & the program will search a database for the error & display code, reasons for it 2) the user can enter something like "class" & "c++" into the … | |
I know that global variables are traditionally not the way to go, but I figured I'd present my question anyway. For a college senior project for a software engineering class we are supposed to create a 3AC calculator using quads. One of the requirements is to have a display for … | |
Hi,I want to convert String^ to Int array or a char array.I am reading numbers from a file in GUI but the StreamReader Reads the Text in a String.I need to convert them to use the numbers. I have tried ToCharArray() function but it doesnt work! this function gives the … | |
ok i'll try to explain it simply and clearly. i have looked for a solution for a long time but they either didnt work and were too complicated for my little skill. so i have a main .swf which im working on. i then have buttons which when clicked, launch … |
The End.