Click here to Skip to main content
15,891,810 members
Home / Discussions / Java
   

Java

 
GeneralRe: ReaderWriter Problem Pin
pembepanter22-Dec-19 4:16
pembepanter22-Dec-19 4:16 
QuestionJava reader writer project Pin
pembepanter10-Dec-19 22:28
pembepanter10-Dec-19 22:28 
AnswerRe: Java reader writer project Pin
Richard MacCutchan10-Dec-19 23:04
mveRichard MacCutchan10-Dec-19 23:04 
AnswerMessage Closed Pin
16-Dec-19 18:38
Member 1468932316-Dec-19 18:38 
GeneralRe: Java reader writer project Pin
Richard MacCutchan16-Dec-19 23:31
mveRichard MacCutchan16-Dec-19 23:31 
GeneralRe: Java reader writer project Pin
phil.o16-Dec-19 23:57
professionalphil.o16-Dec-19 23:57 
GeneralRe: Java reader writer project Pin
Richard MacCutchan17-Dec-19 1:46
mveRichard MacCutchan17-Dec-19 1:46 
Questionjfreechar tooltip not able to show Pin
Member 23212935-Dec-19 16:42
Member 23212935-Dec-19 16:42 
I am generating barchart using jFreeChart and i need to make a customize content tooltip for the bar and here is my customized function on StandardCategoryToolTipGenerator and the problem right now is.. when mouse point to the bar the tooltip does not show

class MyTooltipGenerator extends StandardCategoryToolTipGenerator
	{

		@Override
		public String generateToolTip(CategoryDataset dataset, int series, int category)
		{
			
			return "generateToolTip";
		}

		@Override
		public String generateLabelString(CategoryDataset dataset, int row, int col)
		{
			return dataset.getColumnKey(col) + " " + dataset.getValue(row, col);
		}

	};

Both StandardCategoryToolTipGenerator and BarRender are customized as below:
MyTooltipGenerator std = new MyTooltipGenerator();
BarRenderer renderer = new MyBarRenderer();

when generating the content of the tooltip i make is as below:
BarRenderer rr = (BarRenderer) plot.getRenderer();
std.generateLabelString(dataset, row, column);
std.generateToolTip(dataset, row, column);
rr.setBaseToolTipGenerator(std);
plot.setRenderer(rr);

Problem now is the tooltip are NOT able to show.. is the tooltip required certain FORMAT? cause my plan is make the tooltip to be look like:

Quaitity: 50
Percetage: 80%

when the mouse point to the bar and it cannot display like above
AnswerRe: jfreechar tooltip not able to show Pin
Richard MacCutchan5-Dec-19 22:35
mveRichard MacCutchan5-Dec-19 22:35 
QuestionWhat is a medium-size Java open source project with really well maintained automated tests? Pin
Member 146772343-Dec-19 18:49
Member 146772343-Dec-19 18:49 
AnswerRe: What is a medium-size Java open source project with really well maintained automated tests? Pin
Richard MacCutchan3-Dec-19 23:19
mveRichard MacCutchan3-Dec-19 23:19 
GeneralHelp with a website written in Java Pin
Tim Kohl25-Nov-19 23:13
Tim Kohl25-Nov-19 23:13 
GeneralRe: Help with a website written in Java Pin
Richard MacCutchan26-Nov-19 22:59
mveRichard MacCutchan26-Nov-19 22:59 
GeneralRe: Help with a website written in Java Pin
Tim Kohl27-Nov-19 21:21
Tim Kohl27-Nov-19 21:21 
GeneralRe: Help with a website written in Java Pin
Gerry Schmitz28-Nov-19 5:37
mveGerry Schmitz28-Nov-19 5:37 
QuestionHelp With Sorting Multidimensional String Array Pin
eskomo8424-Nov-19 6:15
eskomo8424-Nov-19 6:15 
AnswerRe: Help With Sorting Multidimensional String Array Pin
Richard MacCutchan24-Nov-19 6:23
mveRichard MacCutchan24-Nov-19 6:23 
GeneralRe: Help With Sorting Multidimensional String Array Pin
eskomo8424-Nov-19 6:45
eskomo8424-Nov-19 6:45 
GeneralRe: Help With Sorting Multidimensional String Array Pin
Richard MacCutchan24-Nov-19 6:52
mveRichard MacCutchan24-Nov-19 6:52 
GeneralRe: Help With Sorting Multidimensional String Array Pin
eskomo8424-Nov-19 9:09
eskomo8424-Nov-19 9:09 
GeneralRe: Help With Sorting Multidimensional String Array Pin
Richard MacCutchan24-Nov-19 23:14
mveRichard MacCutchan24-Nov-19 23:14 
QuestionJavaFX Background not beeing used on a ScrollPane element [Solved] Pin
Valentinor24-Nov-19 4:48
Valentinor24-Nov-19 4:48 
AnswerSolution Pin
Valentinor27-Nov-19 6:40
Valentinor27-Nov-19 6:40 
Question!!Please Help!! Student Needs Help It Shows me exercise/ wrong catagory moved to web dev JS Pin
Member 1465076510-Nov-19 6:04
Member 1465076510-Nov-19 6:04 
QuestionRe: !!Please Help!! Student Needs Help It Shows me exercise 2 is correct but exercise 1 is not defined Pin
Richard MacCutchan10-Nov-19 6:24
mveRichard MacCutchan10-Nov-19 6:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.