127 Topics

Member Avatar for peter_budo

I'm trying to display text on GlassPane in front of image which I read in. There is no problem with image which does display but my text doesn't appear. What is wrong???? [code] import java.io.File; import java.io.IOException; import java.awt.*; import java.awt.image.RenderedImage; import javax.swing.*; import javax.media.jai.widget.ScrollingImagePanel; import javax.media.jai.NullOpImage; import javax.media.jai.OpImage; import …

Member Avatar for peter_budo
0
122
Member Avatar for peter_budo

yay this first time that I develop something larger ;) My problem: main method display a frame with buttons where you choose what function/action you want to perform. Once you press a button I want the main window become invisible and windows with option for function to become visible. So …

Member Avatar for peter_budo
0
118
Member Avatar for peter_budo

In the JPanel I placed JTextField and JButton, as the layout I'm using GridBagLayout which is left to default align (center). However because of the size of whole JFrame I would like to get JTextField to left and JButton to right. How do I do that :?: [code] private GridBagLayout …

Member Avatar for peter_budo
0
111
Member Avatar for peter_budo

Can somebody please help me to little customize the view of the phpMyAdmin? Curently this is what I [URL="http://www.peterbudo.f2s.com/extra/myAdminC.jpg"]see [/URL] but I would like to have as [URL="http://www.peterbudo.f2s.com/extra/myAdminW.jpg"]this[/URL]. Simple, I don't like options to be displayed as list of links but as tabs. What shall I change in config?

Member Avatar for peter_budo
0
148
Member Avatar for peter_budo

Just have small program to practice with Calendar. However I come accross something unusual. Once you set date for 1st April 2007 or 1st June 2008 for example you get wrong number of the week. example bellow show code set to date 1st June 2008 [code] import java.util.*; import java.text.DateFormat; …

Member Avatar for peter_budo
0
108
Member Avatar for peter_budo

I'm working on calendar application, similar to one provided with instalation of Tomcat. There you have class1 with methods which provide data for class 2. I have no problem to compile class1, but getting errors while compiling class2. This apply also to Tomcat examples if you try to recompile them. …

Member Avatar for peter_budo
0
120
Member Avatar for peter_budo

I have class which extends JTextArea which I want to attach to JFrame. here is constructor for for JTextArea [code] public MoveSelectedFiles() { area = new JTextArea(10, 40); setVisible(true); } [/code] and here is JTextArea is added to JFrame [code] MovedSelectedFiles movedTextArea = new MoveSelectedFiles(); JPanel panelTextArea = new JPanel(); …

Member Avatar for peter_budo
0
205
Member Avatar for peter_budo

I'm customizing JFileChooser for application atwork. One of the thinks I want it to do is open it as default directory [B]My Computer[/B] with list of all hard drives, optical drives or nay other storage which you get once you open it. Why I want to do it? Every b***y …

Member Avatar for iamthwee
0
89
Member Avatar for peter_budo

I think everybody hate when his phone/mobile ring, you pick up and hear that you just won some kind of Grand Price. Well just take the link below to "have one" on phone sale people [URL="http://howtoprankatelemarketer.ytmnd.com/"]LINK[/URL]

Member Avatar for Ancient Dragon
0
93
Member Avatar for peter_budo

Can somebody please let me know if there is any configuration file for sound devices which affect microphone setting on the windows start up. My problem is that when ever I start my pc all previously settings get over writen by some kind of default which mute my mic plus …

Member Avatar for peter_budo
0
122
Member Avatar for peter_budo

This is getting bad. Teroris tried to attack again on 4 different locations. What is even worster is, one of the attack happend on the bus which I usually take to work. Unfortunately this guy run a way, hide somewhere between my work place and my recant home. Police is …

Member Avatar for server_crash
1
1K
Member Avatar for peter_budo

I have already working client-server messenger which is using threads. I can easily do plaintext username and password but I wish to use encryption on password. How can this be done?

Member Avatar for peter_budo
0
143
Member Avatar for peter_budo

I'm trying to create a login for clients to server based on three way handshake. Client send his username in synchrinization to server, server acknowledge and send random encryption string to client with request for password, client encrypt password and send over to server. If password ok connection established. I'm …

Member Avatar for Phaelax
0
196
Member Avatar for peter_budo

Can somebody suggest some good and cheap JSP provider with MySQL (UK if possible). ( :lol: know cheap but i'm student and need something to practice on as uni service has limitations) Thank you

Member Avatar for techkar
0
109
Member Avatar for peter_budo

Can you please help me with launching Acrobat Reader from html document? I have a html page which contain few links leading to PDF documents. There is no problem to open basic PDF's throught hyperlink into browser window, but some of this PDF's are searchable and if I try to …

Member Avatar for Esopo
0
206
Member Avatar for peter_budo

well whach this short [URL=http://www.youtube.com/?v=bMN0ocvXPls]movie[/URL] and give your opinion :mrgreen:

Member Avatar for Jorjapeech
0
86
Member Avatar for peter_budo

Can somebody please provide my with usefull info how to open internet browser from java program? The way how this should work, work cross platform & open default browser don't force certain browser I tried to use info from [URL=http://today.java.net/pub/a/today/2004/10/14/jdic1.html]this page[/URL] but couldn't get it work. Together with tutor we …

Member Avatar for peter_budo
0
375
Member Avatar for peter_budo

I have small code to read datas from "dat" type of file. It's read fine just when last line is done it's kick-off with error message [I][B]Exception in thread "main" java.lang.NullPointerException at CW2.main<CW2.java:26>[/B][/I] [CODE] import java.io.*; import java.util.*; class CW2 { public static void main( String[] args) { try { …

Member Avatar for jwenting
0
103
Member Avatar for peter_budo

Having strange behaving programs,at the bottom you can find them, but here is short explenation. Main program will present a menu from which you can pick operation to do. When I choose 1 it is suppouse to create file of certain name(not exactly, you have to complile score.c program and …

Member Avatar for peter_budo
0
186
Member Avatar for peter_budo

I'm getting following compile error OrderedList.cc: In member function `std::string OrderedList::find(std::string&, std::string&, int&)': OrderedList.cc:133: error: invalid conversion from `int' to `const char*' OrderedList.cc:133: error: initializing argument 1 of `std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' OrderedList.cc looks like this [CODE]string OrderedList::find(string& …

Member Avatar for SpS
0
182
Member Avatar for peter_budo

Explanation is a bit long so please bear with me, solution is short :lol: We got an assigngment from uni to create word dictionary program to read an external file where each line consist of WORD and DEFINITION separated by empty space. If some word exists more than once add …

Member Avatar for Daishi
0
142
Member Avatar for peter_budo

Short and simple, I installed Windows XP and Solaris 10 on same disk in order to create same development enviroment like at school where we use Solaris in our labs. I got new hard disk because old one was small. Firstly with use of XP instalation CD I created partition …

0
131
Member Avatar for peter_budo

I whant to ask for small help. I'm using Dreamweaver MX 2004, which is a great tool for web developer. Me only problem is I do not exactly like the automatic closing function for HTML tags. :evil: Is there any way how in settings block/switch off this function?? :?:

Member Avatar for peter_budo
0
73
Member Avatar for peter_budo

I'm trying to create class/header for my program which should calculate distanaces between cities declared by array "[I]use[/I]" plus arrays of there coordinates as you see in code below [CODE]// file line.h #ifndef LINE_H #define LINE_H const int cities = 6; class Line { private: string use[] = {"Phoenix", "Baton …

Member Avatar for Narue
0
161
Member Avatar for peter_budo

Studying Computer Science on Unix platform is ussually fun expect days when you get stuck. And life get [B]tough[/B], this is one of my tough days. To make life easier with my c++ programming I wanted to use the [B]make[/B] tool under unix. I have 5 fieles : - student.h …

Member Avatar for peter_budo
0
215
Member Avatar for peter_budo

I am supposed to write an query which will add new attribute to my already existing table So I written this [I][B]ALTER TABLE member ADD e_mail CHAR(20)[/B][/I] which is fine, however when I try insert required data for each row I get stuck [I][B]INSERT INTO member(e_mail) VALUES('johnwhite@msn.com');[/B][/I] Can anyone help …

Member Avatar for peter_budo
1
1K
Member Avatar for peter_budo

Hi my name is Peter and I'm looking for somebody who can help me to understand how to read from external file without "destroing" existing inforamtion inside. whole staff is based on book example which i'm trying to extend. I have a programm which is working with database of 3 …

Member Avatar for peter_budo
0
158

The End.